diff options
Diffstat (limited to 'tests/ui/pub/pub-ident-fn-or-struct-2.stderr')
-rw-r--r-- | tests/ui/pub/pub-ident-fn-or-struct-2.stderr | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/pub/pub-ident-fn-or-struct-2.stderr b/tests/ui/pub/pub-ident-fn-or-struct-2.stderr new file mode 100644 index 000000000..047e66b18 --- /dev/null +++ b/tests/ui/pub/pub-ident-fn-or-struct-2.stderr @@ -0,0 +1,8 @@ +error: missing `fn` or `struct` for function or struct definition + --> $DIR/pub-ident-fn-or-struct-2.rs:1:4 + | +LL | pub S(); + | ---^- help: if you meant to call a macro, try: `S!` + +error: aborting due to previous error + |