Sign in
fuchsia
/
third_party
/
rust
/
346aec9b02f3c74f3fce97fd6bda24709d220e49
/
.
/
src
/
test
/
ui
/
consts
/
promote_borrowed_field.rs
blob: c4841b46f60d9dc8a975d68c885b9f271222f0ed [
file
] [
log
] [
blame
]
// run-pass
// From https://github.com/rust-lang/rust/issues/65727
const
_
:
&
i32
=
{
let
x
=
&(
5
,
false
).
0
;
x
};
fn
main
()
{
let
_
:
&
'
static
i32
=
&(
5
,
false
).
0
;
}