Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-31260.rs
blob: 4db7445b025e54fc3be98a77d06ef18d44b75eba [
file
] [
log
] [
blame
]
// check-pass
#![
allow
(
dead_code
)]
pub
struct
Struct
<
K
:
'
static
>
{
pub
field
:
K
,
}
static
STRUCT
:
Struct
<&
'
static
[
u8
]>
=
Struct
{
field
:
{&[
1
]}
};
static
STRUCT2
:
Struct
<&
'
static
[
u8
]>
=
Struct
{
field
:
&[
1
]
};
fn
main
()
{}