rust/src/test/ui/reachable/expr_struct.stderr
Ariel Ben-Yehuda 77f4022303 Revert "Change error count messages"
This reverts commit 5558c64f33.
2017-07-02 13:49:30 +03:00

33 lines
825 B
Plaintext

error: unreachable expression
--> $DIR/expr_struct.rs:25:13
|
25 | let x = Foo { a: 22, b: 33, ..return };
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: lint level defined here
--> $DIR/expr_struct.rs:14:9
|
14 | #![deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: unreachable expression
--> $DIR/expr_struct.rs:30:33
|
30 | let x = Foo { a: return, b: 33, ..return };
| ^^
error: unreachable expression
--> $DIR/expr_struct.rs:35:39
|
35 | let x = Foo { a: 22, b: return, ..return };
| ^^^^^^
error: unreachable expression
--> $DIR/expr_struct.rs:40:13
|
40 | let x = Foo { a: 22, b: return };
| ^^^^^^^^^^^^^^^^^^^^^^^^
error: aborting due to 4 previous errors