fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime parameter `'a` never used 2 --> $DIR/unused-lifetime.rs:8:35 3 | 4LL | async fn async_wrong_without_args<'a>() {} 5 | -^^- help: elide the unused lifetime 6 | 7note: the lint level is defined here 8 --> $DIR/unused-lifetime.rs:6:9 9 | 10LL | #![deny(unused_lifetimes)] 11 | ^^^^^^^^^^^^^^^^ 12 13error: lifetime parameter `'a` never used 14 --> $DIR/unused-lifetime.rs:10:33 15 | 16LL | async fn async_wrong_1_lifetime<'a>(_: &i32) {} 17 | -^^- help: elide the unused lifetime 18 19error: lifetime parameter `'b` never used 20 --> $DIR/unused-lifetime.rs:12:38 21 | 22LL | async fn async_wrong_2_lifetimes<'a, 'b>(_: &'a i32, _: &i32) {} 23 | --^^ 24 | | 25 | help: elide the unused lifetime 26 27error: lifetime parameter `'a` never used 28 --> $DIR/unused-lifetime.rs:23:23 29 | 30LL | fn wrong_without_args<'a>() {} 31 | -^^- help: elide the unused lifetime 32 33error: lifetime parameter `'a` never used 34 --> $DIR/unused-lifetime.rs:25:21 35 | 36LL | fn wrong_1_lifetime<'a>(_: &i32) {} 37 | -^^- help: elide the unused lifetime 38 39error: lifetime parameter `'b` never used 40 --> $DIR/unused-lifetime.rs:27:26 41 | 42LL | fn wrong_2_lifetimes<'a, 'b>(_: &'a i32, _: &i32) {} 43 | --^^ 44 | | 45 | help: elide the unused lifetime 46 47error: aborting due to 6 previous errors 48