summaryrefslogtreecommitdiffstats
path: root/src/test/ui/impl-header-lifetime-elision/path-elided.rs
blob: 40a52efc7f9fc0860dc774477c5a9c13832f8266 (plain)
1
2
3
4
5
6
7
8
9
10
11
#![allow(warnings)]

trait MyTrait { }

struct Foo<'a> { x: &'a u32 }

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

fn main() {}