help: consider using the `'a` lifetime
|
LL | struct Foo<'a>(&'a usize);
- | ^^^
+ | ~~~
error[E0106]: missing lifetime specifier
--> $DIR/return-without-lifetime.rs:5:34
help: consider using the `'a` lifetime
|
LL | fn func1<'a>(_arg: &'a Thing) -> &'a () { unimplemented!() }
- | ^^^
+ | ~~~
error[E0106]: missing lifetime specifier
--> $DIR/return-without-lifetime.rs:7:35
help: consider using the `'a` lifetime
|
LL | fn func2<'a>(_arg: &Thing<'a>) -> &'a () { unimplemented!() }
- | ^^^
+ | ~~~
error: aborting due to 3 previous errors