2017-12-10 13:47:55 -06:00
error[E0615]: attempted to take value of method `get_x` on type `Point`
2018-12-25 09:56:47 -06:00
--> $DIR/method-missing-call.rs:22:26
2017-12-10 13:47:55 -06:00
|
2018-02-22 18:42:32 -06:00
LL | .get_x;//~ ERROR attempted to take value of method `get_x` on type `Point`
2019-01-02 16:01:03 -06:00
| ^^^^^ help: use parentheses to call the method: `get_x()`
2017-12-10 13:47:55 -06:00
2018-12-25 09:56:47 -06: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 13:47:55 -06:00
|
2018-02-22 18:42:32 -06:00
LL | .filter_map; //~ ERROR attempted to take value of method `filter_map` on type
2019-01-02 16:01:03 -06:00
| ^^^^^^^^^^ help: use parentheses to call the method: `filter_map(...)`
2017-12-10 13:47:55 -06:00
error: aborting due to 2 previous errors
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0615`.