]>
Commit | Line | Data |
---|---|---|
532ac7d7 XL |
1 | struct Thing<'a>(&'a ()); |
2 | struct Foo<'a>(&usize); | |
3 | //~^ ERROR missing lifetime specifier | |
4 | ||
5 | fn func1<'a>(_arg: &'a Thing) -> &() { unimplemented!() } | |
6 | //~^ ERROR missing lifetime specifier | |
7 | fn func2<'a>(_arg: &Thing<'a>) -> &() { unimplemented!() } | |
8 | //~^ ERROR missing lifetime specifier | |
9 | ||
10 | fn main() {} |