summaryrefslogtreecommitdiffstats
path: root/tests/ui/panic-handler/panic-handler-bad-signature-1.stderr
blob: 8b044f7669c72811054699baa8ea0ee5e98f69af (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:11:6
   |
LL | ) -> ()
   |      ^^

error: argument should be `&PanicInfo`
  --> $DIR/panic-handler-bad-signature-1.rs:10:11
   |
LL |     info: PanicInfo,
   |           ^^^^^^^^^

error: aborting due to 2 previous errors