rust/src/test/ui/method-missing-call.stderr

20 lines
898 B
Plaintext
Raw Normal View History

error[E0615]: attempted to take value of method `get_x` on type `Point`
--> $DIR/method-missing-call.rs:32:26
|
2018-02-22 18:42:32 -06:00
LL | .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:37:20: 37:25]>, [closure@$DIR/method-missing-call.rs:38:23: 38:35]>`
--> $DIR/method-missing-call.rs:39:16
|
2018-02-22 18:42:32 -06:00
LL | .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
2018-02-19 14:40:25 -06:00
If you want more information on this error, try using "rustc --explain E0615"