fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error: unused variable: `x` 2 --> $DIR/unused-closure-argument.rs:12:23 3 | 4LL | .map(|Point { x, y }| y) 5 | ^ help: try ignoring the field: `x: _` 6 | 7note: the lint level is defined here 8 --> $DIR/unused-closure-argument.rs:1:9 9 | 10LL | #![deny(unused_variables)] 11 | ^^^^^^^^^^^^^^^^ 12 13error: unused variable: `x` 14 --> $DIR/unused-closure-argument.rs:17:15 15 | 16LL | .map(|x| 4) 17 | ^ help: consider prefixing with an underscore: `_x` 18 19error: aborting due to 2 previous errors 20