blob: c0a94746d08ebf97e1cc22f565a7feb9b8a5753c [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: lint level defined here
--> $DIR/expr_return.rs:4:9
|
LL | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error