Sign in
rust
/
rust-lang
/
rust
/
refs/heads/lcnr/rustc-dev-guide
/
.
/
tests
/
ui
/
issues
/
issue-24227.rs
blob: acc82bdabb5e7ae6af16ced6f2855d05af7ac975 [
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
()
{}