summaryrefslogtreecommitdiff
path: root/tests/ui/pub/pub-ident-struct-4.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/pub/pub-ident-struct-4.stderr')
-rw-r--r--tests/ui/pub/pub-ident-struct-4.stderr6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/ui/pub/pub-ident-struct-4.stderr b/tests/ui/pub/pub-ident-struct-4.stderr
index ec136783211..5fbb02c8673 100644
--- a/tests/ui/pub/pub-ident-struct-4.stderr
+++ b/tests/ui/pub/pub-ident-struct-4.stderr
@@ -1,12 +1,12 @@
error: missing `struct` for struct definition
- --> $DIR/pub-ident-struct-4.rs:4:4
+ --> $DIR/pub-ident-struct-4.rs:3:4
|
-LL | pub T(String);
+LL | pub T(#[allow(dead_code)] String);
| ^
|
help: add `struct` here to parse `T` as a public struct
|
-LL | pub struct T(String);
+LL | pub struct T(#[allow(dead_code)] String);
| ++++++
error: aborting due to 1 previous error