summaryrefslogtreecommitdiffstats
path: root/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 18:31:44 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-30 18:31:44 +0000
commitc23a457e72abe608715ac76f076f47dc42af07a5 (patch)
tree2772049aaf84b5c9d0ed12ec8d86812f7a7904b6 /src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
parentReleasing progress-linux version 1.73.0+dfsg1-1~progress7.99u1. (diff)
downloadrustc-c23a457e72abe608715ac76f076f47dc42af07a5.tar.xz
rustc-c23a457e72abe608715ac76f076f47dc42af07a5.zip
Merging upstream version 1.74.1+dfsg1.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
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.stderr9
1 files changed, 8 insertions, 1 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
index f89146dad..ae92c334f 100644
--- a/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
+++ b/src/tools/clippy/tests/ui/suspicious_doc_comments_unfixable.stderr
@@ -2,24 +2,30 @@ error: this is an outer doc comment and does not apply to the parent module or c
--> $DIR/suspicious_doc_comments_unfixable.rs:4:1
|
LL | / ///! a
+LL | |
+LL | |
LL | | ///! b
LL | | /// c
LL | | ///! d
| |______^
|
= note: `-D clippy::suspicious-doc-comments` implied by `-D warnings`
+ = help: to override `-D warnings` add `#[allow(clippy::suspicious_doc_comments)]`
help: use an inner doc comment to document the parent module or crate
|
LL + //! a
+LL |
+LL |
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
+ --> $DIR/suspicious_doc_comments_unfixable.rs:12:1
|
LL | / ///! a
+LL | |
LL | | ///! b
LL | | /// c
LL | | ///! d
@@ -28,6 +34,7 @@ LL | | ///! d
help: use an inner doc comment to document the parent module or crate
|
LL + //! a
+LL |
LL + //! b
LL | /// c
LL + //! d