about summary refs log tree commit diff
path: root/tests/ui/impl-header-lifetime-elision/inherent-impl.rs
blob: da071cfcefbdcd9f028866b72984d93d8ab15824 (plain)
1
2
3
4
5
6
7
8
9
//@ build-pass (FIXME(62277): could be check-pass?)

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

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

fn main() {}