rust/src/test/ui/panic-handler/panic-handler-bad-signature-1.stderr

15 lines
380 B
Plaintext
Raw Normal View History

2018-08-08 12:28:26 +00:00
error: return type should be `!`
2018-12-25 15:56:47 +00:00
--> $DIR/panic-handler-bad-signature-1.rs:11:6
2018-08-08 12:28:26 +00:00
|
LL | ) -> () //~ ERROR return type should be `!`
| ^^
error: argument should be `&PanicInfo`
2018-12-25 15:56:47 +00:00
--> $DIR/panic-handler-bad-signature-1.rs:10:11
2018-08-08 12:28:26 +00:00
|
LL | info: PanicInfo, //~ ERROR argument should be `&PanicInfo`
| ^^^^^^^^^
error: aborting due to 2 previous errors