mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-23 07:14:28 +00:00
14 lines
270 B
Plaintext
14 lines
270 B
Plaintext
error: missing `fn` or `struct` for function or struct definition
|
|
--> $DIR/pub-ident-fn-or-struct.rs:1:1
|
|
|
|
|
LL | pub S (foo) bar
|
|
| ^^^^^
|
|
|
|
|
help: if you meant to call a macro, try
|
|
|
|
|
LL | pub S! (foo) bar
|
|
| ~~
|
|
|
|
error: aborting due to 1 previous error
|
|
|