rust/src/test/run-pass/lint-structural-records.rs

4 lines
64 B
Rust
Raw Normal View History

#[warn(structural_records)];
fn main() {
let _foo = {x:5};
}