@@ -2,64 +2,49 @@ 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
4
LL | //! Should warn on double space linebreaks
5
- | ^^ help: replace this double space with a backslash: `\`
5
+ | ^^
6
6
|
7
+ = help: replace this double space with a backslash: `\`
7
8
= note: `-D clippy::doc-comment-double-space-linebreak` implied by `-D warnings`
8
9
= help: to override `-D warnings` add `#[allow(clippy::doc_comment_double_space_linebreak)]`
9
10
10
11
error: doc comment uses two spaces for a hard line break
11
12
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:35:51
12
13
|
13
14
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
18
- |
15
+ | ^^
19
16
LL | /// as a line-break, even when there are multiple
20
- | ^^ help: replace this double space with a backslash: `\`
17
+ | ^^
18
+ |
19
+ = help: replace this double space with a backslash: `\`
21
20
22
21
error: doc comment uses two spaces for a hard line break
23
22
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:44:12
24
23
|
25
24
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
30
- |
25
+ | ^^
31
26
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
36
- |
27
+ | ^^
37
28
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
42
- |
29
+ | ^^
43
30
LL | /// and so are 🫵
44
- | ^^ help: replace this double space with a backslash: `\`
31
+ | ^^
32
+ |
33
+ = help: replace this double space with a backslash: `\`
45
34
46
35
error: doc comment uses two spaces for a hard line break
47
36
--> tests/ui/doc/doc_comment_double_space_linebreak.rs:86:16
48
37
|
49
38
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
54
- |
39
+ | ^^
40
+ LL | /// double spaces\
55
41
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
60
- |
42
+ | ^^
43
+ LL | /// adding backslash\
61
44
LL | /// to some of them
62
- | ^^ help: replace this double space with a backslash: `\`
45
+ | ^^
46
+ |
47
+ = help: replace this double space with a backslash: `\`
63
48
64
- error: aborting due to 10 previous errors
49
+ error: aborting due to 4 previous errors
65
50
0 commit comments