rust/tests/ui/pub/pub-ident-fn-or-struct.stderr
Nilstrieb 41e8d152dc Show number in error message even for one error
Co-authored-by: Adrian <adrian.iosdev@gmail.com>
2023-11-24 19:15:52 +01:00

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