rust/tests/ui/suspicious_doc_comments_unfixable.stderr

44 lines
834 B
Plaintext
Raw Normal View History

2023-03-13 07:06:31 -05:00
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 | |
LL | |
2023-03-13 07:06:31 -05:00
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 |
LL |
2023-03-13 07:06:31 -05:00
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:12:1
2023-03-13 07:06:31 -05:00
|
LL | / ///! a
LL | |
2023-03-13 07:06:31 -05:00
LL | | ///! b
LL | | /// c
LL | | ///! d
| |______^
|
help: use an inner doc comment to document the parent module or crate
|
LL + //! a
LL |
2023-03-13 07:06:31 -05:00
LL + //! b
LL | /// c
LL + //! d
|
error: aborting due to 2 previous errors