]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-header-lifetime-elision/path-elided.rs
Rollup merge of #106692 - eggyal:mv-binary_heap.rs-binary_heap/mod.rs, r=Mark-Simulacrum
[rust.git] / tests / 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 implicit elided lifetime not allowed here
9 }
10
11 fn main() {}