fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: lifetime parameter `'a` only used once 2 --> $DIR/issue-104440.rs:63:8 3 | 4LL | m!('a); 5 | ^^ 6 | | 7 | this lifetime... 8 | ...is used only here 9 | 10note: the lint level is defined here 11 --> $DIR/issue-104440.rs:2:9 12 | 13LL | #![deny(single_use_lifetimes)] 14 | ^^^^^^^^^^^^^^^^^^^^ 15 16error: lifetime parameter `'a` only used once 17 --> $DIR/issue-104440.rs:38:30 18 | 19LL | fn f<'b, 'c, $a: 'b, 'a: 'c>(t1: &$a(), t2: &'a ()) -> (&'b (), &'c ()) { 20 | ^^ this lifetime... -- ...is used only here 21... 22LL | m!('a); 23 | ------ in this macro invocation 24 | 25 = note: this error originates in the macro `m` (in Nightly builds, run with -Z macro-backtrace for more info) 26 27error: aborting due to 2 previous errors 28