blob: 6ab1fb7b039bd6ec63c06fb4d12b478275296355 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
#![forbid(dead_code)]
#[derive(Debug)]
pub struct Whatever {
pub field0: (),
field1: (), //~ ERROR fields `field1`, `field2`, `field3`, and `field4` are never read
field2: (),
field3: (),
field4: (),
}
fn main() {}
|