2017-12-10 22:47:55 +03:00
error[E0615]: attempted to take value of method `get_x` on type `Point`
2018-12-25 08:56:47 -07:00
--> $DIR/method-missing-call.rs:22:26
2017-12-10 22:47:55 +03:00
|
2019-03-09 15:03:44 +03:00
LL | .get_x;
2020-03-11 20:38:21 -07:00
| ^^^^^
|
help: use parentheses to call the method
|
LL | .get_x();
| ^^
2017-12-10 22:47:55 +03:00
2018-12-25 08:56:47 -07:00
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]>`
--> $DIR/method-missing-call.rs:29:16
2017-12-10 22:47:55 +03:00
|
2019-03-09 15:03:44 +03:00
LL | .filter_map;
2020-03-11 20:38:21 -07:00
| ^^^^^^^^^^
|
help: use parentheses to call the method
|
LL | .filter_map(_);
| ^^^
2017-12-10 22:47:55 +03:00
error: aborting due to 2 previous errors
2018-03-03 15:59:40 +01:00
For more information about this error, try `rustc --explain E0615`.