blob: 912061847c69f85bb12688ca1e3d4f537fca6efa [file] [log] [blame]
//@ check-pass
trait Tr {
type Assoc;
}
impl Tr for () {
type Assoc = ();
}
fn main() {
let x = &() as &(dyn Tr<Assoc = ()> + Send) as &dyn Send;
}