summaryrefslogtreecommitdiffstats
path: root/tests/ui/impl-header-lifetime-elision/inherent-impl.rs
blob: 9d7b2f2d088cc3908356aa5ca9a21d711cfc2f54 (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() {}