mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-01 06:51:58 +00:00
41e8d152dc
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
9 lines
232 B
Plaintext
9 lines
232 B
Plaintext
error: missing `fn` or `struct` for function or struct definition
|
|
--> $DIR/pub-ident-fn-or-struct.rs:1:4
|
|
|
|
|
LL | pub S (foo) bar
|
|
| ---^- help: if you meant to call a macro, try: `S!`
|
|
|
|
error: aborting due to 1 previous error
|
|
|