fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unreachable pattern 2 --> $DIR/issue-12116.rs:15:9 3 | 4LL | &IntList::Cons(val, box IntList::Nil) => IntList::Cons(val, Box::new(IntList::Nil)), 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7note: the lint level is defined here 8 --> $DIR/issue-12116.rs:4:9 9 | 10LL | #![deny(unreachable_patterns)] 11 | ^^^^^^^^^^^^^^^^^^^^ 12 13error: aborting due to previous error 14