If I were using generics rather than associated types, I'd be able to tell Rust that MyAssoc is the same across traits A and B :
確定! 回上一頁