]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-24227.rs
Enable full revision in const generics ui tests
[rust.git] / src / test / 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() {}