2017-12-10 19:47:55 +00:00
error[E0615]: attempted to take value of method `get_x` on type `Point`
2018-12-25 15:56:47 +00:00
--> $DIR/method-missing-call.rs:22:26
2017-12-10 19:47:55 +00:00
|
2019-03-09 12:03:44 +00:00
LL | .get_x;
2020-03-22 18:18:06 +00:00
| ^^^^^ method, not a field
2020-03-12 03:38:21 +00:00
|
help: use parentheses to call the method
|
LL | .get_x();
2021-06-22 02:07:19 +00:00
| ++
2017-12-10 19:47:55 +00:00
2023-09-09 06:36:50 +00:00
error[E0615]: attempted to take value of method `filter_map` on type `Filter<Map<std::slice::Iter<'_, {integer}>, {closure@$DIR/method-missing-call.rs:27:20: 27:23}>, {closure@$DIR/method-missing-call.rs:28:23: 28:28}>`
2018-12-25 15:56:47 +00:00
--> $DIR/method-missing-call.rs:29:16
2017-12-10 19:47:55 +00:00
|
2019-03-09 12:03:44 +00:00
LL | .filter_map;
2020-03-22 18:18:06 +00:00
| ^^^^^^^^^^ method, not a field
2020-03-12 03:38:21 +00:00
|
help: use parentheses to call the method
|
LL | .filter_map(_);
2021-06-22 02:07:19 +00:00
| +++
2017-12-10 19:47:55 +00:00
error: aborting due to 2 previous errors
2018-03-03 14:59:40 +00:00
For more information about this error, try `rustc --explain E0615`.