You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/test/ui/methods/method-missing-call.stderr
+12-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,23 @@ error[E0615]: attempted to take value of method `get_x` on type `Point`
2
2
--> $DIR/method-missing-call.rs:22:26
3
3
|
4
4
LL | .get_x;
5
-
| ^^^^^ help: use parentheses to call the method: `get_x()`
5
+
| ^^^^^
6
+
|
7
+
help: use parentheses to call the method
8
+
|
9
+
LL | .get_x();
10
+
| ^^
6
11
7
12
error[E0615]: attempted to take value of method `filter_map` on type `std::iter::Filter<std::iter::Map<std::slice::Iter<'_, {integer}>, [closure@$DIR/method-missing-call.rs:27:20: 27:25]>, [closure@$DIR/method-missing-call.rs:28:23: 28:35]>`
8
13
--> $DIR/method-missing-call.rs:29:16
9
14
|
10
15
LL | .filter_map;
11
-
| ^^^^^^^^^^ help: use parentheses to call the method: `filter_map(...)`
0 commit comments