MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / shouldfail

Function shouldfail

tests/shouldpanic.rs:16–20  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14}
15
16fn shouldfail()
17{
18 serprint!("SHOULDPANIC::SHOULDFAIL...\t");
19 assert_eq!(0, 1);
20}
21
22#[panic_handler]
23fn panic(_info: &PanicInfo) -> !

Callers 1

_startFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected