]> git.lizzy.rs Git - rust.git/blob - tests/ui/impl-header-lifetime-elision/inherent-impl.rs
Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors
[rust.git] / tests / 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() {}