mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-02 11:44: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
|
|
|