]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-header-lifetime-elision/inherent-impl.rs
Rollup merge of #62344 - matklad:simplify-option, r=sfackler
[rust.git] / src / test / ui / impl-header-lifetime-elision / inherent-impl.rs
1 // build-pass (FIXME(62277): could be check-pass?)
2
3 struct Foo<'a>(&'a u8);
4
5 impl Foo<'_> {
6     fn x() {}
7 }
8
9 fn main() {}