granite-rust/src/test/ui/track-diagnostics/track4.stderr

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

15 lines
352 B
Text
Raw Normal View History

2022-10-24 23:19:48 +02:00
error: missing `struct` for struct definition
--> $DIR/track4.rs:$LINE::$COL
|
LL | pub onion {
| ^
-Ztrack-diagnostics: created at compiler/rustc_parse/src/parser/diagnostics.rs:$LINE::$COL
|
help: add `struct` here to parse `onion` as a public struct
|
LL | pub struct onion {
| ++++++
error: aborting due to previous error