blob: 83e12caff6dd08e9f02f3a5690fee78a06067b90 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// 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() {}
|