]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-12116.stderr
Rollup merge of #53311 - RalfJung:windows-mutex, r=retep998
[rust.git] / src / test / ui / issues / issue-12116.stderr
1 error: unreachable pattern
2   --> $DIR/issue-12116.rs:25:9
3    |
4 LL |         &IntList::Cons(val, box IntList::Nil)  => IntList::Cons(val, box IntList::Nil),
5    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7 note: lint level defined here
8   --> $DIR/issue-12116.rs:15:9
9    |
10 LL | #![deny(unreachable_patterns)]
11    |         ^^^^^^^^^^^^^^^^^^^^
12
13 error: aborting due to previous error
14