Sign in
◑
Theme
gnu
/
gcc.git
/
refs/heads/trunk
/
.
/
gcc
/
testsuite
/
rust
/
compile
/
issues
/
2906.rs
blob: 9aaf5e86612aca23cb1f1b43eb9d3ec7ed0c6bd3 [
file
]
// { dg-warning "field is never read: .a." "" { target *-*-* } .-1 }
#![
feature
(
no_core
)]
#![
no_core
]
struct
Foo
{
a
:
i32
}
fn
main
()
{
let
a
=
Foo
{
a
:
15
};
match
a
{
b
=>
{
}
}
}