summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-header-lifetime-elision/trait-elided.rs
blob: c3e76d9cb5a030d3a5fa557df3ae1d6dfdb061ff (plain)
1
2
3
4
5
6
7
8
#![allow(warnings)]

trait MyTrait<'a> {}

impl MyTrait for u32 {}
//~^ ERROR implicit elided lifetime not allowed here

fn main() {}