Debian Codegraph @

gcc/testsuite/rust/compile/issue-2906.rs

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