blob: 72b85da028f1f0f11d1dab152636e182401d2f80 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: return type should be `!`
--> $DIR/panic-handler-bad-signature-1.rs:21:6
|
LL | ) -> () //~ ERROR return type should be `!`
| ^^
error: argument should be `&PanicInfo`
--> $DIR/panic-handler-bad-signature-1.rs:20:11
|
LL | info: PanicInfo, //~ ERROR argument should be `&PanicInfo`
| ^^^^^^^^^
error: aborting due to 2 previous errors
|