blob: eaadaf7c449df9093e101f63331601fcc7da5f24 [file] [log] [blame]
// build-pass (FIXME(62277): could be check-pass?)
// This resulted in an ICE. Test for future-proofing
// Issue #24227
#![allow(unused)]
struct Foo<'a> {
x: &'a u8
}
impl<'a> Foo<'a> {
fn foo() {
let mut tmp: Self;
}
}
fn main() {}