35 lines
726 B
Text
35 lines
726 B
Text
error: empty doc comment
|
|
--> tests/ui/empty_docs.rs:10:1
|
|
|
|
|
LL | / ///
|
|
LL | | enum Warn {
|
|
| |_
|
|
|
|
|
= help: consider removing or filling it
|
|
= note: `-D clippy::empty-docs` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::empty_docs)]`
|
|
|
|
error: empty doc comment
|
|
--> tests/ui/empty_docs.rs:18:1
|
|
|
|
|
LL | / enum WarnForB {
|
|
LL | | /// it's ok
|
|
LL | | A,
|
|
LL | | ///
|
|
LL | | B,
|
|
LL | | }
|
|
| |_^
|
|
|
|
|
= help: consider removing or filling it
|
|
|
|
error: empty doc comment
|
|
--> tests/ui/empty_docs.rs:32:1
|
|
|
|
|
LL | / fn warn_about_this_as_well() {
|
|
LL | | //!
|
|
| |_______^
|
|
|
|
|
= help: consider removing or filling it
|
|
|
|
error: aborting due to 3 previous errors
|
|
|