@@ -3,7 +3,7 @@ error: empty line after doc comment
33 |
44LL | / /// for the crate
55LL | |
6- | |_
6+ | |_^
77LL | fn first_in_crate() {}
88 | ------------------- the comment documents this function
99 |
@@ -22,7 +22,7 @@ error: empty line after doc comment
2222 |
2323LL | / /// for the module
2424LL | |
25- | |_
25+ | |_^
2626LL | fn first_in_module() {}
2727 | -------------------- the comment documents this function
2828 |
@@ -39,7 +39,7 @@ error: empty line after doc comment
3939 |
4040LL | / /// # Indented
4141LL | |
42- | |_
42+ | |_^
4343LL | /// Blank line
4444LL | fn indented() {}
4545 | ------------- the comment documents this function
@@ -55,7 +55,7 @@ error: empty line after doc comment
5555 |
5656LL | / /// This should produce a warning
5757LL | |
58- | |_
58+ | |_^
5959LL | fn with_doc_and_newline() {}
6060 | ------------------------- the comment documents this function
6161 |
6969LL | | /** This is also a doc comment and is part of the warning
7070LL | | */
7171LL | |
72- | |_
72+ | |_^
7373...
7474LL | fn three_attributes() {}
7575 | --------------------- the comment documents this function
@@ -82,7 +82,7 @@ error: empty line after doc comment
8282LL | / /// docs for `old_code`
8383LL | | // fn old_code() {}
8484LL | |
85- | |_
85+ | |_^
8686LL | fn new_code() {}
8787 | ------------- the comment documents this function
8888 |
@@ -102,7 +102,7 @@ LL | | /// Docs
102102LL | | /// for OldB
103103LL | | // struct OldB;
104104LL | |
105- | |_
105+ | |_^
106106...
107107LL | struct Multiple;
108108 | --------------- the comment documents this struct
@@ -125,7 +125,7 @@ LL | / /**
125125LL | | * Meant to be inner doc comment
126126LL | | */
127127LL | |
128- | |_
128+ | |_^
129129LL | fn first_in_module() {}
130130 | -------------------- the comment documents this function
131131 |
@@ -143,7 +143,7 @@ LL | | * Docs for `old_code`
143143LL | | */
144144LL | | /* fn old_code() {} */
145145LL | |
146- | |_
146+ | |_^
147147...
148148LL | fn new_code() {}
149149 | ------------- the comment documents this function
@@ -161,7 +161,7 @@ error: empty line after doc comment
161161LL | / /// Docs for `old_code2`
162162LL | | /* fn old_code2() {} */
163163LL | |
164- | |_
164+ | |_^
165165LL | /// Docs for `new_code2`
166166LL | fn new_code2() {}
167167 | -------------- the comment documents this function
0 commit comments