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