Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-31260.rs
blob: f7e717c59ac029bdcbd9387a774b31303d8e3e58 [
file
] [
log
] [
blame
]
// compile-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
()
{}