summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-101540.rs
blob: 328ec6f906b1fb6949f24fd9b5d8e5fa0ee8afba (plain)
1
2
3
4
5
6
7
struct S1 {
    struct S2 {
    //~^ ERROR structs are not allowed in struct definitions
    }
}

fn main() {}