summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-34255-1.rs
blob: c70cd8b5077a924fa9ef52a5f988d7a31ff0b1ef (plain)
1
2
3
4
5
6
7
8
9
10
enum Test {
    Drill {
        field: i32,
    }
}

fn main() {
    Test::Drill(field: 42);
    //~^ ERROR invalid `struct` delimiters or `fn` call arguments
}