Sign in
android
/
toolchain
/
rustc
/
d720b3f2ba07cb42ff7b311589c99daefe3aaa22
/
.
/
tests
/
ui
/
issues
/
issue-24227.rs
blob: 12816c235f8d812683c5593ca5daf965d0ae4109 [
file
] [
log
] [
blame
]
// 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
()
{}