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