]> git.lizzy.rs Git - rust.git/blob - src/test/ui/alloc-error/alloc-error-handler-bad-signature-1.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / alloc-error / alloc-error-handler-bad-signature-1.stderr
1 error: return type should be `!`
2   --> $DIR/alloc-error-handler-bad-signature-1.rs:22:6
3    |
4 LL | ) -> () //~ ERROR return type should be `!`
5    |      ^^
6
7 error: argument should be `Layout`
8   --> $DIR/alloc-error-handler-bad-signature-1.rs:21:11
9    |
10 LL |     info: &Layout, //~ ERROR argument should be `Layout`
11    |           ^^^^^^^
12
13 error: aborting due to 2 previous errors
14