|
1 | 1 | error: first doc comment paragraph is too long
|
2 |
| - --> tests/ui/too_long_first_doc_paragraph.rs:5:1 |
| 2 | + --> tests/ui/too_long_first_doc_paragraph.rs:8:5 |
| 3 | + | |
| 4 | +LL | / //! A very short summary. |
| 5 | +LL | | //! A much longer explanation that goes into a lot more detail about |
| 6 | +LL | | //! how the thing works, possibly with doclinks and so one, |
| 7 | +LL | | //! and probably spanning a many rows. Blablabla, it needs to be over |
| 8 | +LL | | //! 200 characters so I needed to write something longeeeeeeer. |
| 9 | + | |____^ |
| 10 | + | |
| 11 | + = note: `-D clippy::too-long-first-doc-paragraph` implied by `-D warnings` |
| 12 | + = help: to override `-D warnings` add `#[allow(clippy::too_long_first_doc_paragraph)]` |
| 13 | +help: add an empty line |
| 14 | + | |
| 15 | +LL ~ //! A very short summary. |
| 16 | +LL + //! |
| 17 | +LL ~ //! A much longer explanation that goes into a lot more detail about |
| 18 | + | |
| 19 | + |
| 20 | +error: first doc comment paragraph is too long |
| 21 | + --> tests/ui/too_long_first_doc_paragraph.rs:15:1 |
3 | 22 | |
|
4 | 23 | LL | / /// Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc turpis nunc, lacinia
|
5 | 24 | LL | | /// a dolor in, pellentesque aliquet enim. Cras nec maximus sem. Mauris arcu libero,
|
6 | 25 | LL | | /// gravida non lacinia at, rhoncus eu lacus.
|
7 | 26 | | |_
|
8 |
| - | |
9 |
| - = note: `-D clippy::too-long-first-doc-paragraph` implied by `-D warnings` |
10 |
| - = help: to override `-D warnings` add `#[allow(clippy::too_long_first_doc_paragraph)]` |
11 | 27 |
|
12 | 28 | error: first doc comment paragraph is too long
|
13 |
| - --> tests/ui/too_long_first_doc_paragraph.rs:26:1 |
| 29 | + --> tests/ui/too_long_first_doc_paragraph.rs:36:1 |
14 | 30 | |
|
15 | 31 | LL | / /// Lorem
|
16 | 32 | LL | | /// ipsum dolor sit amet, consectetur adipiscing elit. Nunc turpis nunc, lacinia
|
17 | 33 | LL | | /// a dolor in, pellentesque aliquet enim. Cras nec maximus sem. Mauris arcu libero,
|
18 | 34 | LL | | /// gravida non lacinia at, rhoncus eu lacus.
|
19 | 35 | | |_
|
20 | 36 |
|
21 |
| -error: aborting due to 2 previous errors |
| 37 | +error: aborting due to 3 previous errors |
22 | 38 |
|
0 commit comments