]> git.lizzy.rs Git - rust.git/blob - src/test/ui/methods/method-missing-call.stderr
Rollup merge of #53317 - estebank:abolish-ice, r=oli-obk
[rust.git] / src / test / ui / methods / method-missing-call.stderr
1 error[E0615]: attempted to take value of method `get_x` on type `Point`
2   --> $DIR/method-missing-call.rs:32:26
3    |
4 LL |                         .get_x;//~ ERROR attempted to take value of method `get_x` on type `Point`
5    |                          ^^^^^
6    |
7    = help: maybe a `()` to call it is missing?
8
9 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]>`
10   --> $DIR/method-missing-call.rs:39:16
11    |
12 LL |               .filter_map; //~ ERROR attempted to take value of method `filter_map` on type
13    |                ^^^^^^^^^^
14    |
15    = help: maybe a `()` to call it is missing?
16
17 error: aborting due to 2 previous errors
18
19 For more information about this error, try `rustc --explain E0615`.