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() {}