summary refs log tree commit diff
path: root/src/test/ui/impl-header-lifetime-elision/path-elided.rs
blob: 6532b0aebe74ab79881ebece697554fe605b6ca6 (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 missing lifetime specifier
}

fn main() {}