summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-fn-or-struct.stderr
blob: c4a196eb2c2651966042e44910ef12f365cadae3 (plain)
1
2
3
4
5
6
7
8
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