fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #68568 - pietroalbini:stable-next, r=pietroalbini5e1a799842b

1.41.0
764 B15 linesraw
1error[E0615]: attempted to take value of method `get_x` on type `Point`
2  --> $DIR/method-missing-call.rs:22:26
3   |
4LL |                         .get_x;
5   |                          ^^^^^ help: use parentheses to call the method: `get_x()`
6
7error[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]>`
8  --> $DIR/method-missing-call.rs:29:16
9   |
10LL |               .filter_map;
11   |                ^^^^^^^^^^ help: use parentheses to call the method: `filter_map(...)`
12
13error: aborting due to 2 previous errors
14
15For more information about this error, try `rustc --explain E0615`.