We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 33ba097 commit bb5c079Copy full SHA for bb5c079
src/test/compile-fail/issue-2356.rs
@@ -0,0 +1,4 @@
1
+struct cat {
2
+ tail: int;
3
+ fn meow() { tail += 1; } //~ ERROR: Did you mean: `self.tail`
4
+}
0 commit comments