fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: unreachable statement 2 --> $DIR/issue-7246.rs:7:5 3 | 4LL | return; 5 | ------ any code following this expression is unreachable 6LL | if *ptr::null() {}; 7 | ^^^^^^^^^^^^^^^^^^^ unreachable statement 8 | 9note: the lint level is defined here 10 --> $DIR/issue-7246.rs:1:9 11 | 12LL | #![deny(unreachable_code)] 13 | ^^^^^^^^^^^^^^^^ 14 15error: aborting due to previous error 16