1 error: functions using `#[should_panic]` must return `()`
2 --> $DIR/termination-trait-in-test-should-panic.rs:22:1
4 LL | / fn not_a_num() -> Result<(), ParseIntError> {
5 LL | | //~^ ERROR functions using `#[should_panic]` must return `()`
6 LL | | let _: u32 = "abc".parse()?;
11 error: aborting due to previous error