1 error[E0309]: the parameter type `A` may not live long enough
2 --> $DIR/regions-infer-bound-from-trait.rs:43:5
4 LL | check_bound(x, a) //~ ERROR parameter type `A` may not live long enough
7 = help: consider adding an explicit lifetime bound `A: 'a`...
9 error[E0309]: the parameter type `A` may not live long enough
10 --> $DIR/regions-infer-bound-from-trait.rs:47:5
12 LL | check_bound(x, a) //~ ERROR parameter type `A` may not live long enough
15 = help: consider adding an explicit lifetime bound `A: 'a`...
17 error: aborting due to 2 previous errors
19 For more information about this error, try `rustc --explain E0309`.