We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 357a8f0 commit e9e10d2Copy full SHA for e9e10d2
tests/ui/missing_const_for_fn/could_be_const.stderr
@@ -60,7 +60,7 @@ LL | | }
60
error: this could be a `const fn`
61
--> $DIR/could_be_const.rs:68:9
62
|
63
-LL | / pub fn new(a: &A) -> B {
+LL | / pub fn b(self, a: &A) -> B {
64
LL | | B
65
LL | | }
66
| |_________^
0 commit comments