1 warning: unreachable expression
2 --> $DIR/issue-85071.rs:17:13
5 | --- any code following this expression is unreachable
8 | ^ unreachable expression
10 note: this expression has type `Foo`, which is uninhabited
11 --> $DIR/issue-85071.rs:15:13
15 note: the lint level is defined here
16 --> $DIR/issue-85071.rs:9:26
18 LL | #![warn(unused_variables,unreachable_code)]
21 warning: unused variable: `x`
22 --> $DIR/issue-85071.rs:15:9
25 | ^ help: if this is intentional, prefix it with an underscore: `_x`
27 note: the lint level is defined here
28 --> $DIR/issue-85071.rs:9:9
30 LL | #![warn(unused_variables,unreachable_code)]
33 warning: 2 warnings emitted