1 error: unused variable: `x`
2 --> $DIR/unused-closure-argument.rs:12:23
4 LL | .map(|Point { x, y }| y)
5 | ^ help: try ignoring the field: `x: _`
7 note: the lint level is defined here
8 --> $DIR/unused-closure-argument.rs:1:9
10 LL | #![deny(unused_variables)]
13 error: unused variable: `x`
14 --> $DIR/unused-closure-argument.rs:17:15
17 | ^ help: if this is intentional, prefix it with an underscore: `_x`
19 error: aborting due to 2 previous errors