Sign in
fuchsia
/
third_party
/
github.com
/
rust-lang
/
rust
/
f97c37f8ae9a3bb9eed2d2fa812c01ac78b460fb
/
.
/
src
/
test
/
ui
/
issues
/
issue-28576.rs
blob: 972c839b648032a8f5cdd483e0836f78c0a6a5a8 [
file
] [
log
] [
blame
]
pub
trait
Foo
<
RHS
=
Self
>
{
type
Assoc
;
}
pub
trait
Bar
:
Foo
<
Assoc
=()>
{
fn
new
(&
self
,
b
:
&
dyn
Bar
//~ ERROR the trait `Bar` cannot be made into an object
<
Assoc
=()>
);
}
fn
main
()
{}