Skip to content

Commit 0b2f314

Browse files
committed
Update oracles
Signed-off-by: Sasha Pourcelot <sasha.pourcelot@protonmail.com>
1 parent d30f408 commit 0b2f314

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/ui/parser/expr-rarrow-call.stderr

+5-5
Original file line numberDiff line numberDiff line change
@@ -4,39 +4,39 @@ error: `->` used for field access or method call
44
LL | named->foo;
55
| ^^ help: try using `.` instead
66
|
7-
= help: Rust uses `.` to access fields and methods
7+
= help: The `.` operator dereferences the value if needed
88

99
error: `->` used for field access or method call
1010
--> $DIR/expr-rarrow-call.rs:18:12
1111
|
1212
LL | unnamed->0;
1313
| ^^ help: try using `.` instead
1414
|
15-
= help: Rust uses `.` to access fields and methods
15+
= help: The `.` operator dereferences the value if needed
1616

1717
error: `->` used for field access or method call
1818
--> $DIR/expr-rarrow-call.rs:22:6
1919
|
2020
LL | t->0;
2121
| ^^ help: try using `.` instead
2222
|
23-
= help: Rust uses `.` to access fields and methods
23+
= help: The `.` operator dereferences the value if needed
2424

2525
error: `->` used for field access or method call
2626
--> $DIR/expr-rarrow-call.rs:23:6
2727
|
2828
LL | t->1;
2929
| ^^ help: try using `.` instead
3030
|
31-
= help: Rust uses `.` to access fields and methods
31+
= help: The `.` operator dereferences the value if needed
3232

3333
error: `->` used for field access or method call
3434
--> $DIR/expr-rarrow-call.rs:30:8
3535
|
3636
LL | foo->clone();
3737
| ^^ help: try using `.` instead
3838
|
39-
= help: Rust uses `.` to access fields and methods
39+
= help: The `.` operator dereferences the value if needed
4040

4141
error: aborting due to 5 previous errors
4242

0 commit comments

Comments
 (0)