Skip to content

Commit 5e1fdf9

Browse files
committed
Add missing UI test change
1 parent 1b18597 commit 5e1fdf9

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

tests/ui/missing_const_for_fn/could_be_const.stderr

+9-1
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,13 @@ LL | | t
4949
LL | | }
5050
| |_^
5151

52-
error: aborting due to 6 previous errors
52+
error: this could be a const_fn
53+
--> $DIR/could_be_const.rs:65:9
54+
|
55+
LL | / pub fn b(self, a: &A) -> B {
56+
LL | | B
57+
LL | | }
58+
| |_________^
59+
60+
error: aborting due to 7 previous errors
5361

0 commit comments

Comments
 (0)