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

8 lines
111 B
Rust
Raw Normal View History

2022-09-22 10:41:38 -05:00
struct S1 {
struct S2 {
//~^ ERROR structs are not allowed in struct definitions
}
}
fn main() {}