Sign in
android
/
toolchain
/
rustc
/
5139364148b53d79de1b5e778004d41a6a33a4a2
/
.
/
tests
/
ui
/
issues
/
issue-19380.rs
blob: fce737cba18d288de988d3de5a703ca0a9aa4fde [
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
]};
//~^ ERROR E0038
fn
main
()
{
}