rust/src/test/ui/issues/issue-24227.rs
2018-12-25 21:08:33 -07:00

19 lines
223 B
Rust

// compile-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() {}