]> git.lizzy.rs Git - rust.git/blob - src/test/ui/reachable/expr_type.stderr
Merge commit '5034d47f721ff4c3a3ff2aca9ef2ef3e1d067f9f' into clippyup
[rust.git] / src / test / ui / reachable / expr_type.stderr
1 error: unreachable expression
2   --> $DIR/expr_type.rs:9:13
3    |
4 LL |     let x = {return}: !;
5    |             ^------^^^^
6    |             ||
7    |             |any code following this expression is unreachable
8    |             unreachable expression
9    |
10 note: the lint level is defined here
11   --> $DIR/expr_type.rs:4:9
12    |
13 LL | #![deny(unreachable_code)]
14    |         ^^^^^^^^^^^^^^^^
15
16 error: aborting due to previous error
17