19 lines
820 B
Plaintext
19 lines
820 B
Plaintext
|
error[E0615]: attempted to take value of method `get_x` on type `Point`
|
||
|
--> $DIR/method-missing-call.rs:32:26
|
||
|
|
|
||
|
32 | .get_x;//~ ERROR attempted to take value of method `get_x` on type `Point`
|
||
|
| ^^^^^
|
||
|
|
|
||
|
= help: maybe a `()` to call it is missing?
|
||
|
|
||
|
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:38:20: 38:25]>, [closure@$DIR/method-missing-call.rs:39:23: 39:35]>`
|
||
|
--> $DIR/method-missing-call.rs:40:16
|
||
|
|
|
||
|
40 | .filter_map; //~ ERROR attempted to take value of method `filter_map` on type
|
||
|
| ^^^^^^^^^^
|
||
|
|
|
||
|
= help: maybe a `()` to call it is missing?
|
||
|
|
||
|
error: aborting due to 2 previous errors
|
||
|
|