summary refs log tree commit diff
path: root/src/test/ui/impl-header-lifetime-elision/inherent-impl.rs
blob: 20d778d20aef9d47e35f663d874ea8703557a2c3 (plain)
1
2
3
4
5
6
7
8
9
// compile-pass

struct Foo<'a>(&'a u8);

impl Foo<'_> {
    fn x() {}
}

fn main() {}