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