summaryrefslogtreecommitdiffstats
path: root/tests/ui/error-codes/E0124.rs
blob: 9d6a716a6da1ba90f22091021d03c05280e01df5 (plain)
1
2
3
4
5
6
7
8
struct Foo {
    field1: i32,
    field1: i32,
    //~^ ERROR field `field1` is already declared [E0124]
}

fn main() {
}