2019-08-21 18:30:11 -05:00
|
|
|
#![deny(unused)]
|
|
|
|
|
2022-06-09 22:14:24 -05:00
|
|
|
struct F; //~ ERROR struct `F` is never constructed
|
|
|
|
struct B; //~ ERROR struct `B` is never constructed
|
2019-08-21 18:30:11 -05:00
|
|
|
|
2022-06-09 22:14:24 -05:00
|
|
|
enum E {
|
|
|
|
//~^ ERROR enum `E` is never used
|
2019-08-21 18:30:11 -05:00
|
|
|
Foo(F),
|
|
|
|
Bar(B),
|
|
|
|
}
|
|
|
|
|
|
|
|
fn main() {}
|