blob: 20df3e1de6f326b8a91445e01f910d5be0083622 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![deny(unused)]
struct F; //~ ERROR struct `F` is never constructed
struct B; //~ ERROR struct `B` is never constructed
enum E {
//~^ ERROR enum `E` is never used
Foo(F),
Bar(B),
}
fn main() {}
|