@@ -9,7 +9,7 @@ LL | true
99help: add `return` as shown
1010 |
1111LL | return true
12- |
12+ | ++++++
1313
1414error: missing `return` statement
1515 --> tests/ui/implicit_return.rs:19:15
@@ -122,7 +122,7 @@ LL | format!("test {}", "test")
122122help: add `return` as shown
123123 |
124124LL | return format!("test {}", "test")
125- |
125+ | ++++++
126126
127127error: missing `return` statement
128128 --> tests/ui/implicit_return.rs:90:5
@@ -133,7 +133,7 @@ LL | m!(true, false)
133133help: add `return` as shown
134134 |
135135LL | return m!(true, false)
136- |
136+ | ++++++
137137
138138error: missing `return` statement
139139 --> tests/ui/implicit_return.rs:96:13
@@ -169,10 +169,8 @@ LL | | }
169169 |
170170help: add `return` as shown
171171 |
172- LL ~ return loop {
173- LL + m!(true);
174- LL + }
175- |
172+ LL | return loop {
173+ | ++++++
176174
177175error: missing `return` statement
178176 --> tests/ui/implicit_return.rs:130:5
@@ -183,7 +181,7 @@ LL | true
183181help: add `return` as shown
184182 |
185183LL | return true
186- |
184+ | ++++++
187185
188186error: aborting due to 16 previous errors
189187
0 commit comments