]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-7246.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / issues / issue-7246.stderr
1 error: unreachable statement
2   --> $DIR/issue-7246.rs:17:5
3    |
4 LL |     if *ptr::null() {}; //~ ERROR unreachable
5    |     ^^^^^^^^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/issue-7246.rs:11:9
9    |
10 LL | #![deny(unreachable_code)]
11    |         ^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14