rust/tests/ui/impl-header-lifetime-elision/inherent-impl.rs
2024-02-16 20:02:50 +00:00

10 lines
123 B
Rust

//@ build-pass (FIXME(62277): could be check-pass?)
struct Foo<'a>(&'a u8);
impl Foo<'_> {
fn x() {}
}
fn main() {}