mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 13:43:17 +00:00
22 lines
929 B
Text
22 lines
929 B
Text
error: first doc comment paragraph is too long
|
|
--> tests/ui/too_long_first_doc_paragraph.rs:5:1
|
|
|
|
|
LL | / /// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc turpis nunc, lacinia
|
|
LL | | /// a dolor in, pellentesque aliquet enim. Cras nec maximus sem. Mauris arcu libero,
|
|
LL | | /// gravida non lacinia at, rhoncus eu lacus.
|
|
| |_
|
|
|
|
|
= note: `-D clippy::too-long-first-doc-paragraph` implied by `-D warnings`
|
|
= help: to override `-D warnings` add `#[allow(clippy::too_long_first_doc_paragraph)]`
|
|
|
|
error: first doc comment paragraph is too long
|
|
--> tests/ui/too_long_first_doc_paragraph.rs:26:1
|
|
|
|
|
LL | / /// Lorem
|
|
LL | | /// ipsum dolor sit amet, consectetur adipiscing elit. Nunc turpis nunc, lacinia
|
|
LL | | /// a dolor in, pellentesque aliquet enim. Cras nec maximus sem. Mauris arcu libero,
|
|
LL | | /// gravida non lacinia at, rhoncus eu lacus.
|
|
| |_
|
|
|
|
error: aborting due to 2 previous errors
|
|
|