For the most part, the current code performs similarly, although it differs in some particulars. I'll be nice to have these tests for judging future changes, as well.
14 lines
291 B
Text
14 lines
291 B
Text
error: unreachable expression
|
|
--> $DIR/expr_box.rs:16:13
|
|
|
|
|
16 | let x = box return;
|
|
| ^^^^^^^^^^
|
|
|
|
|
note: lint level defined here
|
|
--> $DIR/expr_box.rs:13:9
|
|
|
|
|
13 | #![deny(unreachable_code)]
|
|
| ^^^^^^^^^^^^^^^^
|
|
|
|
error: aborting due to previous error
|
|
|