2023-04-11 13:31:08 +00:00
|
|
|
error: this is an outer doc comment and does not apply to the parent module or crate
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/suspicious_doc_comments_unfixable.rs:4:1
|
2023-04-11 13:31:08 +00:00
|
|
|
|
|
|
|
|
LL | / ///! a
|
2023-08-24 19:32:12 +00:00
|
|
|
LL | |
|
|
|
|
LL | |
|
2023-04-11 13:31:08 +00:00
|
|
|
LL | | ///! b
|
|
|
|
LL | | /// c
|
|
|
|
LL | | ///! d
|
|
|
|
| |______^
|
|
|
|
|
|
|
|
|
= note: `-D clippy::suspicious-doc-comments` implied by `-D warnings`
|
2023-08-01 12:02:21 +00:00
|
|
|
= help: to override `-D warnings` add `#[allow(clippy::suspicious_doc_comments)]`
|
2023-04-11 13:31:08 +00:00
|
|
|
help: use an inner doc comment to document the parent module or crate
|
|
|
|
|
|
|
|
|
LL + //! a
|
2023-08-24 19:32:12 +00:00
|
|
|
LL |
|
|
|
|
LL |
|
2023-04-11 13:31:08 +00:00
|
|
|
LL + //! b
|
|
|
|
LL | /// c
|
|
|
|
LL + //! d
|
|
|
|
|
|
|
|
|
|
|
|
|
error: this is an outer doc comment and does not apply to the parent module or crate
|
2024-02-27 14:25:18 +00:00
|
|
|
--> tests/ui/suspicious_doc_comments_unfixable.rs:12:1
|
2023-04-11 13:31:08 +00:00
|
|
|
|
|
|
|
|
LL | / ///! a
|
2023-08-24 19:32:12 +00:00
|
|
|
LL | |
|
2023-04-11 13:31:08 +00:00
|
|
|
LL | | ///! b
|
|
|
|
LL | | /// c
|
|
|
|
LL | | ///! d
|
|
|
|
| |______^
|
|
|
|
|
|
|
|
|
help: use an inner doc comment to document the parent module or crate
|
|
|
|
|
|
|
|
|
LL + //! a
|
2023-08-24 19:32:12 +00:00
|
|
|
LL |
|
2023-04-11 13:31:08 +00:00
|
|
|
LL + //! b
|
|
|
|
LL | /// c
|
|
|
|
LL + //! d
|
|
|
|
|
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|