rust/tests/ui/impl-header-lifetime-elision/inherent-impl.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
122 B
Rust
Raw Normal View History

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