1 error: unreachable expression
2 --> $DIR/expr_method.rs:25:21
4 LL | Foo.foo(return, 22); //~ ERROR unreachable
7 note: lint level defined here
8 --> $DIR/expr_method.rs:14:9
10 LL | #![deny(unreachable_code)]
13 error: unreachable expression
14 --> $DIR/expr_method.rs:30:5
16 LL | Foo.bar(return); //~ ERROR unreachable
19 error: aborting due to 2 previous errors