rust/src/test/ui/reachable/expr_add.stderr
Michael Kohl 5558c64f33 Change error count messages
See #33525 for details.
2017-05-24 16:14:38 +07:00

15 lines
298 B
Plaintext

error: unreachable expression
--> $DIR/expr_add.rs:27:13
|
27 | let x = Foo + return;
| ^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/expr_add.rs:13:9
|
13 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: aborting due to previous error(s)