1 error[E0600]: cannot apply unary operator `!` to type `!`
2 --> $DIR/expr_unary.rs:8:16
4 LL | let x: ! = ! { return; };
5 | ^^^^^^^^^^^^^ cannot apply unary operator `!`
7 error: unreachable expression
8 --> $DIR/expr_unary.rs:8:16
10 LL | let x: ! = ! { return; };
13 | | any code following this expression is unreachable
14 | unreachable expression
16 note: the lint level is defined here
17 --> $DIR/expr_unary.rs:5:9
19 LL | #![deny(unreachable_code)]
22 error: aborting due to 2 previous errors
24 For more information about this error, try `rustc --explain E0600`.