Function rustc_trans::middle::ty::has_attr
[−]
[src]
pub fn has_attr(tcx: &ctxt, did: DefId, attr: &str) -> bool
Unstable
Determine whether an item is annotated with an attribute