Enum rustc_trans::middle::traits::ObjectSafetyViolation
[−]
[src]
pub enum ObjectSafetyViolation<'tcx> {
SizedSelf,
SupertraitSelf,
Method(Rc<Method<'tcx>>, MethodViolationCode),
}Unstable
Variants
SizedSelf | Unstable Self : Sized declared on the trait |
SupertraitSelf | Unstable Supertrait reference references |
Method | Unstable Method has something illegal |