Make TyTrait embed a `TraitRef`, so that when we extend TraitRef, it naturally...
Make TyTrait embed a `TraitRef`, so that when we extend TraitRef, it naturally carries over to object types. I wanted to embed an `Rc<TraitRef>`, but I was foiled by the current static rules, which prohibit non-Sync values from being stored in static locations. This means that the constants for `ty_int` and so forth cannot be initialized.
Showing
想要评论请 注册 或 登录