pub fn astconv_object_safety_violations(self, trait_def_id: DefId)
                                            -> Vec<ObjectSafetyViolation>
    {
        let mut violations = vec![];

        if self.supertraits_reference_self(trait_def_id) {
            violations.push(ObjectSafetyViolation::SupertraitSelf);
        }

        debug!("astconv_object_safety_violations(trait_def_id={:?}) = {:?}",
               trait_def_id,
               violations);

        violations
    }
/// Returns the object safety violations that affect
/// astconv - currently, Self in supertraits. This is needed
/// because `object_safety_violations` can't be used during
/// type collection.
Returns the object safety violations that affect
astconv - currently, Self in supertraits. This is needed
because `object_safety_violations` can't be used during
type collection.
Returns the object safety violations that affect astconv - currently Self in supertraits . This is needed because ` object_safety_violations ` can ' t be used during type collection .
pub fn astconv_object_safety_violations(self, trait_def_id: DefId)
                                            -> Vec<ObjectSafetyViolation>
    {
        let mut violations = vec![];
        if self.supertraits_reference_self(trait_def_id) {
            violations.push(ObjectSafetyViolation::SupertraitSelf);
        }
        debug!("astconv_object_safety_violations(trait_def_id={:?}) = {:?}",
               trait_def_id,
               violations);
        violations
    }
pub fn astconv_object_safety_violations ( self , trait_def_id : DefId ) -> Vec < ObjectSafetyViolation > { let mut violations = vec ! [ ] ; if self . supertraits_reference_self ( trait_def_id ) { violations . push ( ObjectSafetyViolation :: SupertraitSelf ) ; } debug ! ( " " trait_def_id violations ) ; violations }
Returns the object safety violations that affect
astconv - currently, Self in supertraits.
Returns the object safety violations that affect astconv - currently Self in supertraits .
self
trait_def_id
DefId
self
trait_def_id
DefId