Sign in
android
/
toolchain
/
rustc
/
refs/heads/main
/
.
/
tests
/
ui
/
issues
/
issue-5884.rs
blob: 17cb4133632ab56d7f2fb39f8b98dc6a4c8026ce [
file
] [
log
] [
blame
] [
edit
]
//@ build-pass
#![
allow
(
dead_code
)]
//@ pretty-expanded FIXME #23616
pub
struct
Foo
{
a
:
isize
,
}
struct
Bar
<
'
a
>
{
a
:
Box
<
Option
<
isize
>>,
b
:
&
'
a
Foo
,
}
fn
check
(
a
:
Box
<
Foo
>)
{
let
_ic
=
Bar
{
b
:
&*
a
,
a
:
Box
::
new
(
None
)
};
}
pub
fn
main
(){}