blob: 3667ddb97bd3e76fe2590855d7bc860f2e83a7c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
error: struct `NeverConstructed` is never constructed
--> $DIR/unused-pub-struct.rs:6:12
|
LL | pub struct NeverConstructed(i32);
| ^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> $DIR/unused-pub-struct.rs:1:9
|
LL | #![deny(dead_code)]
| ^^^^^^^^^
error: aborting due to 1 previous error
|