1 error[E0597]: `x` does not live long enough
2 --> $DIR/issue-30438-c.rs:19:6
5 | ^ borrowed value does not live long enough
6 LL | //~^ ERROR: `x` does not live long enough
8 | - borrowed value only lives until here
10 note: borrowed value must be valid for the lifetime 'y as defined on the function body at 17:10...
11 --> $DIR/issue-30438-c.rs:17:10
13 LL | fn silly<'y, 'z>(_s: &'y Test<'z>) -> &'y <Test<'z> as Trait>::Out where 'z: 'static {
16 error: aborting due to previous error
18 For more information about this error, try `rustc --explain E0597`.