]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-header-lifetime-elision/trait-elided.rs
Disallow non-explicit elided lifetimes in async fn
[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
9 fn main() {}