about summary refs log tree commit diff
path: root/tests/ui/pub/pub-ident-fn-or-struct.stderr
blob: 1bdb547be1e519b925f12e44673398296dc1b85b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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
LL + pub S! (foo) bar
   |

error: aborting due to 1 previous error