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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
306 B
Plaintext
Raw Normal View History

2022-09-22 10:41:38 -05:00
error: structs are not allowed in struct definitions
--> $DIR/issue-101540.rs:2:5
|
2022-09-26 09:43:31 -05:00
LL | struct S1 {
| -- while parsing this struct
2022-09-22 11:24:30 -05:00
LL | struct S2 {
| ^^^^^^^^^
2022-09-22 11:02:50 -05:00
|
= help: consider creating a new `struct` definition instead of nesting
2022-09-22 10:41:38 -05:00
error: aborting due to previous error
2022-09-22 11:24:30 -05:00