1error[E0726]: implicit elided lifetime not allowed here 2 --> tests/ui/unsupported_elided.rs:6:14 3 | 46 | type T; 5 | ^ expected lifetime parameter 6 | 7help: indicate the anonymous lifetime 8 | 96 | type T<'_>; 10 | ++++ 11 12error[E0106]: missing lifetime specifier 13 --> tests/ui/unsupported_elided.rs:8:24 14 | 158 | fn f(t: &T) -> &str; 16 | -- ^ expected named lifetime parameter 17 | 18 = help: this function's return type contains a borrowed value, but the signature does not say which one of `t`'s 2 lifetimes it is borrowed from 19help: consider introducing a named lifetime parameter 20 | 218 | fn f<'a>(t: &'a T<'a>) -> &'a str; 22 | ++++ ++ ++++ ++ 23 24error: lifetime may not live long enough 25 --> tests/ui/unsupported_elided.rs:8:12 26 | 278 | fn f(t: &T) -> &str; 28 | ^ - has type `&T<'1>` 29 | | 30 | returning this value requires that `'1` must outlive `'static` 31