rust/tests/ui/parser/issues/issue-101540.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

13 lines
308 B
Plaintext

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 1 previous error