summary refs log tree commit diff
path: root/src/test/ui/reachable/expr_call.stderr
blob: 414d29ec2a73411c0a62c09b137160fd15d923ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
error: unreachable expression
  --> $DIR/expr_call.rs:22:17
   |
LL |     foo(return, 22); //~ ERROR unreachable
   |                 ^^
   |
note: lint level defined here
  --> $DIR/expr_call.rs:14:9
   |
LL | #![deny(unreachable_code)]
   |         ^^^^^^^^^^^^^^^^

error: unreachable expression
  --> $DIR/expr_call.rs:27:5
   |
LL |     bar(return); //~ ERROR unreachable
   |     ^^^^^^^^^^^

error: aborting due to 2 previous errors