rust/src/test/ui/impl-header-lifetime-elision/inherent-impl.rs

10 lines
87 B
Rust
Raw Normal View History

// compile-pass
struct Foo<'a>(&'a u8);
impl Foo<'_> {
fn x() {}
}
fn main() {}