mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
13 lines
211 B
Rust
13 lines
211 B
Rust
#![forbid(dead_code)]
|
|
|
|
#[derive(Debug)]
|
|
pub struct Whatever { //~ ERROR struct `Whatever` is never constructed
|
|
pub field0: (),
|
|
field1: (),
|
|
field2: (),
|
|
field3: (),
|
|
field4: (),
|
|
}
|
|
|
|
fn main() {}
|