1 warning: not reporting region error due to -Znll
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 -Znll
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: 2
27 = note: where T: '_#1r
29 error[E0309]: the parameter type `T` may not live long enough
30 --> $DIR/propagate-from-trait-match.rs:42:36
32 LL | establish_relationships(value, |value| {
33 | ____________________________________^
34 LL | | //~^ ERROR the parameter type `T` may not live long enough
36 LL | | // This function call requires that
38 LL | | //~^ WARNING not reporting region error due to -Znll
42 = help: consider adding an explicit lifetime bound `T: ReEarlyBound(0, 'a)`...
44 note: No external requirements
45 --> $DIR/propagate-from-trait-match.rs:38:1
47 LL | / fn supply<'a, T>(value: T)
56 = note: defining type: DefId(0/0:6 ~ propagate_from_trait_match[317d]::supply[0]) with substs [
61 error: aborting due to previous error
63 For more information about this error, try `rustc --explain E0309`.