有人能解释一下为什么这段代码不能编译吗?
#![feature(associated_types)]
trait Wub {
type Zoop;
}
trait Flim: Wub {
}我知道错误:
qqq.rs:7:13: 7:16 error: associated types may not be referenced here
qqq.rs:7 trait Flim: Wub {https://stackoverflow.com/questions/26953665
复制相似问题