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