]> git.proxmox.com Git - rustc.git/blame - src/test/ui/reachable/expr_box.stderr
New upstream version 1.44.1+dfsg1
[rustc.git] / src / test / ui / reachable / expr_box.stderr
CommitLineData
cc61c64b 1error: unreachable expression
0731742a 2 --> $DIR/expr_box.rs:6:13
cc61c64b 3 |
532ac7d7 4LL | let x = box return;
e1599b0c
XL
5 | ^^^^------
6 | | |
7 | | any code following this expression is unreachable
8 | unreachable expression
cc61c64b 9 |
74b04a01 10note: the lint level is defined here
0731742a 11 --> $DIR/expr_box.rs:3:9
cc61c64b 12 |
0531ce1d 13LL | #![deny(unreachable_code)]
cc61c64b
XL
14 | ^^^^^^^^^^^^^^^^
15
041b39d2 16error: aborting due to previous error
cc61c64b 17