1 warning: not reporting region error due to nll
2 --> $DIR/propagate-from-trait-match.rs:55:9
7 note: External requirements
8 --> $DIR/propagate-from-trait-match.rs:42:36
10 LL | establish_relationships(value, |value| {
11 | ____________________________________^
12 LL | | //~^ ERROR the parameter type `T` may not live long enough
14 LL | | // This function call requires that
16 LL | | //~^ WARNING not reporting region error due to nll
20 = note: defining type: DefId(0/1:16 ~ propagate_from_trait_match[317d]::supply[0]::{{closure}}[0]) with closure substs [
24 extern "rust-call" fn((T,))
26 = note: number of external vids: 3
27 = note: where T: '_#1r
29 note: No external requirements
30 --> $DIR/propagate-from-trait-match.rs:38:1
32 LL | / fn supply<'a, T>(value: T)
41 = note: defining type: DefId(0/0:6 ~ propagate_from_trait_match[317d]::supply[0]) with substs [
46 error[E0309]: the parameter type `T` may not live long enough
47 --> $DIR/propagate-from-trait-match.rs:42:36
49 LL | establish_relationships(value, |value| {
50 | ____________________________________^
51 LL | | //~^ ERROR the parameter type `T` may not live long enough
53 LL | | // This function call requires that
55 LL | | //~^ WARNING not reporting region error due to nll
59 = help: consider adding an explicit lifetime bound `T: ReEarlyBound(0, 'a)`...
61 error: aborting due to previous error
63 For more information about this error, try `rustc --explain E0309`.