fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
297 B12 linesraw
1error: functions using `#[should_panic]` must return `()`
2  --> $DIR/termination-trait-in-test-should-panic.rs:11:1
3   |
4LL | / fn not_a_num() -> Result<(), ParseIntError> {
5LL | |
6LL | |     let _: u32 = "abc".parse()?;
7LL | |     Ok(())
8LL | | }
9   | |_^
10
11error: aborting due to previous error
12