mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-20 12:35:11 +00:00
8 lines
111 B
Rust
8 lines
111 B
Rust
struct S1 {
|
|
struct S2 {
|
|
//~^ ERROR structs are not allowed in struct definitions
|
|
}
|
|
}
|
|
|
|
fn main() {}
|