|
1 | 1 | error: doc comment uses two spaces for a hard line break
|
2 | 2 | --> tests/ui/doc/doc_comment_double_space_linebreak.rs:7:43
|
3 | 3 | |
|
4 |
| -LL | //! Should warn on double space linebreaks |
5 |
| - | ___________________________________________^ |
6 |
| -LL | | //! in file/module doc comment |
7 |
| - | |____^ |
| 4 | +LL | //! Should warn on double space linebreaks |
| 5 | + | ^^ help: replace this double space with a backslash: `\` |
8 | 6 | |
|
9 | 7 | = note: `-D clippy::doc-comment-double-space-linebreak` implied by `-D warnings`
|
10 | 8 | = help: to override `-D warnings` add `#[allow(clippy::doc_comment_double_space_linebreak)]`
|
11 |
| -help: replace this double space with a backslash |
12 |
| - | |
13 |
| -LL ~ //! Should warn on double space linebreaks\ |
14 |
| -LL ~ //! in file/module doc comment |
15 |
| - | |
16 | 9 |
|
17 | 10 | error: doc comment uses two spaces for a hard line break
|
18 | 11 | --> tests/ui/doc/doc_comment_double_space_linebreak.rs:35:51
|
19 | 12 | |
|
20 |
| -LL | /// Should warn when doc comment uses double space |
21 |
| - | ___________________________________________________^ |
22 |
| -LL | | /// as a line-break, even when there are multiple |
23 |
| -LL | | /// in a row |
24 |
| - | |____^ |
25 |
| - | |
26 |
| -help: replace this double space with a backslash |
27 |
| - | |
28 |
| -LL ~ /// Should warn when doc comment uses double space\ |
29 |
| -LL ~ /// as a line-break, even when there are multiple\ |
30 |
| -LL ~ /// in a row |
| 13 | +LL | /// Should warn when doc comment uses double space |
| 14 | + | ^^ help: replace this double space with a backslash: `\` |
| 15 | + |
| 16 | +error: doc comment uses two spaces for a hard line break |
| 17 | + --> tests/ui/doc/doc_comment_double_space_linebreak.rs:36:50 |
31 | 18 | |
|
| 19 | +LL | /// as a line-break, even when there are multiple |
| 20 | + | ^^ help: replace this double space with a backslash: `\` |
32 | 21 |
|
33 | 22 | error: doc comment uses two spaces for a hard line break
|
34 | 23 | --> tests/ui/doc/doc_comment_double_space_linebreak.rs:44:12
|
35 | 24 | |
|
36 |
| -LL | /// 🌹 are 🟥 |
37 |
| - | ______________^ |
38 |
| -LL | | /// 🌷 are 🟦 |
39 |
| -LL | | /// 📎 is 😎 |
40 |
| -LL | | /// and so are 🫵 |
41 |
| -LL | | /// (hopefully no formatting weirdness linting this) |
42 |
| - | |____^ |
| 25 | +LL | /// 🌹 are 🟥 |
| 26 | + | ^^ help: replace this double space with a backslash: `\` |
| 27 | + |
| 28 | +error: doc comment uses two spaces for a hard line break |
| 29 | + --> tests/ui/doc/doc_comment_double_space_linebreak.rs:45:12 |
43 | 30 | |
|
44 |
| -help: replace this double space with a backslash |
| 31 | +LL | /// 🌷 are 🟦 |
| 32 | + | ^^ help: replace this double space with a backslash: `\` |
| 33 | + |
| 34 | +error: doc comment uses two spaces for a hard line break |
| 35 | + --> tests/ui/doc/doc_comment_double_space_linebreak.rs:46:11 |
45 | 36 | |
|
46 |
| -LL ~ /// 🌹 are 🟥\ |
47 |
| -LL ~ /// 🌷 are 🟦\ |
48 |
| -LL ~ /// 📎 is 😎\ |
49 |
| -LL ~ /// and so are 🫵\ |
50 |
| -LL ~ /// (hopefully no formatting weirdness linting this) |
| 37 | +LL | /// 📎 is 😎 |
| 38 | + | ^^ help: replace this double space with a backslash: `\` |
| 39 | + |
| 40 | +error: doc comment uses two spaces for a hard line break |
| 41 | + --> tests/ui/doc/doc_comment_double_space_linebreak.rs:47:17 |
51 | 42 | |
|
| 43 | +LL | /// and so are 🫵 |
| 44 | + | ^^ help: replace this double space with a backslash: `\` |
52 | 45 |
|
53 | 46 | error: doc comment uses two spaces for a hard line break
|
54 | 47 | --> tests/ui/doc/doc_comment_double_space_linebreak.rs:86:16
|
55 | 48 | |
|
56 |
| -LL | /// here we mix |
57 |
| - | ________________^ |
58 |
| -LL | | /// double spaces\ |
59 |
| -LL | | /// and also |
60 |
| -LL | | /// adding backslash\ |
61 |
| -LL | | /// to some of them |
62 |
| -LL | | /// to see how that looks |
63 |
| - | |____^ |
64 |
| - | |
65 |
| -help: replace this double space with a backslash |
| 49 | +LL | /// here we mix |
| 50 | + | ^^ help: replace this double space with a backslash: `\` |
| 51 | + |
| 52 | +error: doc comment uses two spaces for a hard line break |
| 53 | + --> tests/ui/doc/doc_comment_double_space_linebreak.rs:88:13 |
66 | 54 | |
|
67 |
| -LL ~ /// here we mix\ |
68 |
| -LL ~ /// double spaces\ |
69 |
| -LL ~ /// and also\ |
70 |
| -LL ~ /// adding backslash\ |
71 |
| -LL ~ /// to some of them\ |
72 |
| -LL ~ /// to see how that looks |
| 55 | +LL | /// and also |
| 56 | + | ^^ help: replace this double space with a backslash: `\` |
| 57 | + |
| 58 | +error: doc comment uses two spaces for a hard line break |
| 59 | + --> tests/ui/doc/doc_comment_double_space_linebreak.rs:90:20 |
73 | 60 | |
|
| 61 | +LL | /// to some of them |
| 62 | + | ^^ help: replace this double space with a backslash: `\` |
74 | 63 |
|
75 |
| -error: aborting due to 4 previous errors |
| 64 | +error: aborting due to 10 previous errors |
76 | 65 |
|
0 commit comments