summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/doc-before-struct-rbrace-1.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/doc-before-struct-rbrace-1.stderr')
-rw-r--r--src/test/ui/parser/doc-before-struct-rbrace-1.stderr14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/test/ui/parser/doc-before-struct-rbrace-1.stderr b/src/test/ui/parser/doc-before-struct-rbrace-1.stderr
deleted file mode 100644
index 94934f734..000000000
--- a/src/test/ui/parser/doc-before-struct-rbrace-1.stderr
+++ /dev/null
@@ -1,14 +0,0 @@
-error[E0585]: found a documentation comment that doesn't document anything
- --> $DIR/doc-before-struct-rbrace-1.rs:3:5
- |
-LL | struct X {
- | - while parsing this struct
-LL | a: u8,
-LL | /// document
- | ^^^^^^^^^^^^
- |
- = help: doc comments must come before what they document, if a comment was intended use `//`
-
-error: aborting due to previous error
-
-For more information about this error, try `rustc --explain E0585`.