We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9788324 commit 090d1c6Copy full SHA for 090d1c6
tests/ui/parser/expr-rarrow-call.fixed
@@ -27,7 +27,7 @@ fn tuple_field_access(t: &(u8, u8)) {
27
struct Foo;
28
29
fn method_call(foo: &Foo) {
30
- foo.clone(); //~ ERROR `->` used for field access or method call
+ foo.clone(); //~ ERROR `->` is not valid syntax for field accesses and method calls
31
}
32
33
fn main() {}
0 commit comments