]> git.proxmox.com Git - rustc.git/blob - tests/ui/issues/issue-24227.rs
New upstream version 1.68.2+dfsg1
[rustc.git] / tests / ui / issues / issue-24227.rs
1 // check-pass
2 // This resulted in an ICE. Test for future-proofing
3 // Issue #24227
4
5 #![allow(unused)]
6
7 struct Foo<'a> {
8 x: &'a u8
9 }
10
11 impl<'a> Foo<'a> {
12 fn foo() {
13 let mut tmp: Self;
14 }
15
16 }
17
18 fn main() {}