summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/doc-before-struct-rbrace-1.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/doc-before-struct-rbrace-1.rs')
-rw-r--r--src/test/ui/parser/doc-before-struct-rbrace-1.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/test/ui/parser/doc-before-struct-rbrace-1.rs b/src/test/ui/parser/doc-before-struct-rbrace-1.rs
deleted file mode 100644
index 0c8d90c3b..000000000
--- a/src/test/ui/parser/doc-before-struct-rbrace-1.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-struct X {
- a: u8,
- /// document
- //~^ ERROR found a documentation comment that doesn't document anything
- //~| HELP if a comment was intended use `//`
-}
-
-fn main() {
- let y = X {a: 1};
-}