1 note: external requirements
2 --> $DIR/propagate-from-trait-match.rs:32:36
4 LL | establish_relationships(value, |value| {
5 | ____________________________________^
8 LL | | // This function call requires that
10 LL | | require(value);
14 = note: defining type: supply::<'_#1r, T>::{closure#0} with closure substs [
16 extern "rust-call" fn((T,)),
19 = note: number of external vids: 2
20 = note: where T: '_#1r
22 note: no external requirements
23 --> $DIR/propagate-from-trait-match.rs:28:1
25 LL | / fn supply<'a, T>(value: T)
34 = note: defining type: supply::<'_#1r, T>
36 error[E0309]: the parameter type `T` may not live long enough
37 --> $DIR/propagate-from-trait-match.rs:32:36
39 LL | establish_relationships(value, |value| {
40 | ____________________________________^
43 LL | | // This function call requires that
45 LL | | require(value);
49 = help: consider adding an explicit lifetime bound `T: 'a`...
51 error: aborting due to previous error
53 For more information about this error, try `rustc --explain E0309`.