summaryrefslogtreecommitdiffstats
path: root/tests/ui/lint/lint-attr-non-item-node.stderr
blob: 583579140966027e90235e5ff0eb36e78df46150 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 previous error