summary refs log tree commit diff
path: root/src/test/ui/alloc-error/alloc-error-handler-bad-signature-2.stderr
blob: 95ef9a0522c34823cda6089acdfa1902123ba716 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
error: return type should be `!`
  --> $DIR/alloc-error-handler-bad-signature-2.rs:12:3
   |
LL | ) { //~ ERROR return type should be `!`
   |   ^

error: argument should be `Layout`
  --> $DIR/alloc-error-handler-bad-signature-2.rs:11:11
   |
LL |     info: Layout, //~ ERROR argument should be `Layout`
   |           ^^^^^^

error: aborting due to 2 previous errors