blob: 7f6749fc9ccb585e8924ed99aa6b7e204d56a3a2 [file] [log] [blame]
error: functions using `#[should_panic]` must return `()`
--> $DIR/termination-trait-in-test-should-panic.rs:11:1
|
LL | / fn not_a_num() -> Result<(), ParseIntError> {
LL | |
LL | | let _: u32 = "abc".parse()?;
LL | | Ok(())
LL | | }
| |_^
error: aborting due to previous error