@@ -3,7 +3,7 @@ error: empty line after doc comment
3
3
|
4
4
LL | / /// for the crate
5
5
LL | |
6
- | |_
6
+ | |_^
7
7
LL | fn first_in_crate() {}
8
8
| ------------------- the comment documents this function
9
9
|
@@ -22,7 +22,7 @@ error: empty line after doc comment
22
22
|
23
23
LL | / /// for the module
24
24
LL | |
25
- | |_
25
+ | |_^
26
26
LL | fn first_in_module() {}
27
27
| -------------------- the comment documents this function
28
28
|
@@ -39,7 +39,7 @@ error: empty line after doc comment
39
39
|
40
40
LL | / /// # Indented
41
41
LL | |
42
- | |_
42
+ | |_^
43
43
LL | /// Blank line
44
44
LL | fn indented() {}
45
45
| ------------- the comment documents this function
@@ -55,7 +55,7 @@ error: empty line after doc comment
55
55
|
56
56
LL | / /// This should produce a warning
57
57
LL | |
58
- | |_
58
+ | |_^
59
59
LL | fn with_doc_and_newline() {}
60
60
| ------------------------- the comment documents this function
61
61
|
69
69
LL | | /** This is also a doc comment and is part of the warning
70
70
LL | | */
71
71
LL | |
72
- | |_
72
+ | |_^
73
73
...
74
74
LL | fn three_attributes() {}
75
75
| --------------------- the comment documents this function
@@ -82,7 +82,7 @@ error: empty line after doc comment
82
82
LL | / /// docs for `old_code`
83
83
LL | | // fn old_code() {}
84
84
LL | |
85
- | |_
85
+ | |_^
86
86
LL | fn new_code() {}
87
87
| ------------- the comment documents this function
88
88
|
@@ -102,7 +102,7 @@ LL | | /// Docs
102
102
LL | | /// for OldB
103
103
LL | | // struct OldB;
104
104
LL | |
105
- | |_
105
+ | |_^
106
106
...
107
107
LL | struct Multiple;
108
108
| --------------- the comment documents this struct
@@ -125,7 +125,7 @@ LL | / /**
125
125
LL | | * Meant to be inner doc comment
126
126
LL | | */
127
127
LL | |
128
- | |_
128
+ | |_^
129
129
LL | fn first_in_module() {}
130
130
| -------------------- the comment documents this function
131
131
|
@@ -143,7 +143,7 @@ LL | | * Docs for `old_code`
143
143
LL | | */
144
144
LL | | /* fn old_code() {} */
145
145
LL | |
146
- | |_
146
+ | |_^
147
147
...
148
148
LL | fn new_code() {}
149
149
| ------------- the comment documents this function
@@ -161,7 +161,7 @@ error: empty line after doc comment
161
161
LL | / /// Docs for `old_code2`
162
162
LL | | /* fn old_code2() {} */
163
163
LL | |
164
- | |_
164
+ | |_^
165
165
LL | /// Docs for `new_code2`
166
166
LL | fn new_code2() {}
167
167
| -------------- the comment documents this function
0 commit comments