Sign in
android
/
toolchain
/
rustc
/
ff3f07ae99a30006dd85b9d73084edd9355c9db6
/
.
/
src
/
test
/
ui
/
issues
/
issue-28576.rs
blob: de665d5aa1680e9aab1563a385891f247b92fdbe [
file
] [
log
] [
blame
]
pub
trait
Foo
<
RHS
=
Self
>
{
type
Assoc
;
}
pub
trait
Bar
:
Foo
<
Assoc
=()>
{
fn
new
(&
self
,
b
:
&
Bar
//~ ERROR the trait `Bar` cannot be made into an object
<
Assoc
=()>
);
}
fn
main
()
{}