Sign in
fuchsia
/
third_party
/
rust
/
9d09331e00b02f81c714b0c41ce3a38380dd36a2
/
.
/
src
/
test
/
ui
/
issues
/
issue-19380.rs
blob: 5c10e2067e408adc290d328a503639174a6913da [
file
] [
log
] [
blame
]
trait
Qiz
{
fn
qiz
();
}
struct
Foo
;
impl
Qiz
for
Foo
{
fn
qiz
()
{}
}
struct
Bar
{
foos
:
&
'static [&'
static
(
dyn
Qiz
+
'
static
)]
//~^ ERROR E0038
}
const
FOO
:
Foo
=
Foo
;
const
BAR
:
Bar
=
Bar
{
foos
:
&[&
FOO
]};
fn
main
()
{
}