]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-header-lifetime-elision/trait-elided.rs
Auto merge of #93718 - thomcc:used-macho, r=pnkfelix
[rust.git] / src / test / ui / impl-header-lifetime-elision / trait-elided.rs
1 #![allow(warnings)]
2
3 trait MyTrait<'a> {}
4
5 impl MyTrait for u32 {}
6 //~^ ERROR implicit elided lifetime not allowed here
7
8 fn main() {}