]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-header-lifetime-elision/path-elided.rs
Auto merge of #60377 - Centril:rollup-42fxe9u, r=Centril
[rust.git] / src / test / ui / impl-header-lifetime-elision / path-elided.rs
1 #![allow(warnings)]
2
3 trait MyTrait { }
4
5 struct Foo<'a> { x: &'a u32 }
6
7 impl MyTrait for Foo {
8     //~^ ERROR missing lifetime specifier
9 }
10
11 fn main() {}