fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0309]: the parameter type `A` may not live long enough 2 --> $DIR/regions-infer-bound-from-trait.rs:33:5 3 | 4LL | check_bound(x, a) 5 | ^^^^^^^^^^^^^^^^^ 6 | 7 = help: consider adding an explicit lifetime bound `A: 'a`... 8 9error[E0309]: the parameter type `A` may not live long enough 10 --> $DIR/regions-infer-bound-from-trait.rs:37:5 11 | 12LL | check_bound(x, a) 13 | ^^^^^^^^^^^^^^^^^ 14 | 15 = help: consider adding an explicit lifetime bound `A: 'a`... 16 17error: aborting due to 2 previous errors 18 19For more information about this error, try `rustc --explain E0309`.