Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-24227.rs
blob: acc82bdabb5e7ae6af16ced6f2855d05af7ac975 [
file
] [
log
] [
blame
] [
edit
]
//@ 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
()
{}