1 error: unreachable expression
2 --> $DIR/expr_method.rs:16:21
4 LL | Foo.foo(return, 22);
5 | ------ ^^ unreachable expression
7 | any code following this expression is unreachable
9 note: the lint level is defined here
10 --> $DIR/expr_method.rs:5:9
12 LL | #![deny(unreachable_code)]
15 error: unreachable call
16 --> $DIR/expr_method.rs:21:9
19 | ^^^ ------ any code following this expression is unreachable
23 error: aborting due to 2 previous errors