blob: e1bef80aeb00e22c7bb8ddbe8664d741b34a8a7e [file] [log] [blame]
error: unreachable expression
--> $DIR/expr_return.rs:10:22
|
LL | let x = {return {return {return;}}};
| ^^^^^^^^------^^
| | |
| | any code following this expression is unreachable
| unreachable expression
|
note: the lint level is defined here
--> $DIR/expr_return.rs:4:9
|
LL | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error