summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr')
-rw-r--r--src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr b/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
new file mode 100644
index 000000000..f89146dad
--- /dev/null
+++ b/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
@@ -0,0 +1,37 @@
+error: this is an outer doc comment and does not apply to the parent module or crate
+ --> $DIR/suspicious_doc_comments_unfixable.rs:4:1
+ |
+LL | / ///! a
+LL | | ///! b
+LL | | /// c
+LL | | ///! d
+ | |______^
+ |
+ = note: `-D clippy::suspicious-doc-comments` implied by `-D warnings`
+help: use an inner doc comment to document the parent module or crate
+ |
+LL + //! a
+LL + //! b
+LL | /// c
+LL + //! d
+ |
+
+error: this is an outer doc comment and does not apply to the parent module or crate
+ --> $DIR/suspicious_doc_comments_unfixable.rs:10:1
+ |
+LL | / ///! a
+LL | | ///! b
+LL | | /// c
+LL | | ///! d
+ | |______^
+ |
+help: use an inner doc comment to document the parent module or crate
+ |
+LL + //! a
+LL + //! b
+LL | /// c
+LL + //! d
+ |
+
+error: aborting due to 2 previous errors
+