Function rustc::middle::ty::get_attrsUnstable
[-]
[+]
[src]
pub fn get_attrs<'tcx>(tcx: &'tcx ctxt, did: DefId) -> CowVec<'tcx, Attribute>
Get the attributes of a definition.