Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ downcast_mut_miss
Function
downcast_mut_miss
libs/error-stack/tests/test_downcast.rs:98–101 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
96
97
#[test]
98
fn downcast_mut_miss() {
99
let mut report = create_report().attach_opaque(AttachmentA(10));
100
assert!(report.downcast_mut::<AttachmentB>().is_none());
101
}
Callers
nothing calls this directly
Calls
3
AttachmentA
Class · 0.85
create_report
Function · 0.70
attach_opaque
Method · 0.45
Tested by
no test coverage detected