]> git.lizzy.rs Git - rust.git/blob - src/test/ui/pub/pub-ident-fn-or-struct-2.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / pub / pub-ident-fn-or-struct-2.stderr
1 error: missing `fn` or `struct` for method or struct definition
2   --> $DIR/pub-ident-fn-or-struct-2.rs:11:4
3    |
4 LL | pub S();
5    | ---^- help: if you meant to call a macro, try: `S!`
6
7 error: aborting due to previous error
8