mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-29 18:23:49 +00:00
9 lines
230 B
Plaintext
9 lines
230 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 previous error
|
|
|