fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: lifetime parameter `'a` only used once 2 --> $DIR/one-use-in-fn-argument-in-band.rs:11:10 3 | 4LL | fn a(x: &'a u32, y: &'b u32) { 5 | ^^- 6 | | 7 | this lifetime is only used here 8 | help: elide the single-use lifetime 9 | 10note: the lint level is defined here 11 --> $DIR/one-use-in-fn-argument-in-band.rs:4:9 12 | 13LL | #![deny(single_use_lifetimes)] 14 | ^^^^^^^^^^^^^^^^^^^^ 15 16error: lifetime parameter `'b` only used once 17 --> $DIR/one-use-in-fn-argument-in-band.rs:11:22 18 | 19LL | fn a(x: &'a u32, y: &'b u32) { 20 | ^^- 21 | | 22 | this lifetime is only used here 23 | help: elide the single-use lifetime 24 25error: aborting due to 2 previous errors 26