mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 19:23:50 +00:00
14 lines
262 B
Plaintext
14 lines
262 B
Plaintext
error: missing `struct` for struct definition
|
|
--> $DIR/missing-struct-issue-125446.rs:1:1
|
|
|
|
|
LL | Whoops {
|
|
| ^^^^^^
|
|
|
|
|
help: add `struct` here to parse `Whoops` as a struct
|
|
|
|
|
LL | struct Whoops {
|
|
| ++++++
|
|
|
|
error: aborting due to 1 previous error
|
|
|