Sign in
fuchsia
/
third_party
/
rust
/
4ec9703467c6934bf0bc8be922f242226c32d0aa
/
.
/
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
()
{}