summaryrefslogtreecommitdiffstats
path: root/tests/ui/pub/pub-ident-fn-or-struct.stderr
blob: a8fa4bd3bd3b4964f7cb7883cf559c98e4be6ed9 (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 1 previous error