1 error[E0597]: `v` does not live long enough
2 --> $DIR/method-ufcs-inherent-2.rs:14:37
5 | -- lifetime `'a` defined here
7 LL | let x = A::<'a>::new::<&'a u32>(&v, &v);
8 | ------------------------^^-----
10 | | borrowed value does not live long enough
11 | argument requires that `v` is borrowed for `'a`
14 | - `v` dropped here while still borrowed
16 error[E0597]: `v` does not live long enough
17 --> $DIR/method-ufcs-inherent-2.rs:14:41
20 | -- lifetime `'a` defined here
22 LL | let x = A::<'a>::new::<&'a u32>(&v, &v);
23 | ----------------------------^^-
25 | | borrowed value does not live long enough
26 | argument requires that `v` is borrowed for `'a`
29 | - `v` dropped here while still borrowed
31 error: aborting due to 2 previous errors
33 For more information about this error, try `rustc --explain E0597`.