blob: 8af887050023c60fef945b7a1fc23b93246f2322 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
error: structs are not allowed in struct definitions
--> $DIR/issue-101540.rs:2:5
|
LL | struct S1 {
| -- while parsing this struct
LL | struct S2 {
| ^^^^^^^^^
|
= help: consider creating a new `struct` definition instead of nesting
error: aborting due to previous error
|