rust/tests/ui/lint/lint-attr-non-item-node.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

17 lines
443 B
Plaintext

error: unreachable statement
--> $DIR/lint-attr-non-item-node.rs:7:9
|
LL | break;
| ----- any code following this expression is unreachable
LL | "unreachable";
| ^^^^^^^^^^^^^^ unreachable statement
|
note: the lint level is defined here
--> $DIR/lint-attr-non-item-node.rs:4:12
|
LL | #[deny(unreachable_code)]
| ^^^^^^^^^^^^^^^^
error: aborting due to 1 previous error