1 2 3 4 5 6 7 8 9 10
// { dg-warning "field is never read: .a." "" { target *-*-* } .-1 } struct Foo { a: i32 } fn main() { let a = Foo { a: 15 }; match a { b => { } } }