rust/tests/ui/parser/issues/issue-101540.rs

8 lines
111 B
Rust

struct S1 {
struct S2 {
//~^ ERROR structs are not allowed in struct definitions
}
}
fn main() {}