blob: d1c9b4818071ac0be8b7c5ce954cee18b6db71ea (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
error: struct `Foo` is never constructed
--> $DIR/deny_lint.rs:LL:CC
|
LL | struct Foo;
| ^^^
|
note: the lint level is defined here
--> $DIR/deny_lint.rs:LL:CC
|
LL | #![deny(warnings, unused)]
| ^^^^^^
= note: `#[deny(dead_code)]` implied by `#[deny(unused)]`
error: miri cannot be run on programs that fail compilation
error: aborting due to 2 previous errors
|