pub fn lookup_repr_hint(tcx: ctxt, did: DefId) -> attr::ReprAttr {
    let mut acc = attr::ReprAny;
    ty::each_attr(tcx, did, |meta| {
        acc = attr::find_repr_attr(tcx.sess.diagnostic(), meta, acc);
        true
    });
    return acc;
}
// Obtain the the representation annotation for a definition.
Obtain the the representation annotation for a definition.
Obtain the the representation annotation for a definition .
pub fn lookup_repr_hint(tcx: ctxt, did: DefId) -> attr::ReprAttr {
    let mut acc = attr::ReprAny;
    ty::each_attr(tcx, did, |meta| {
        acc = attr::find_repr_attr(tcx.sess.diagnostic(), meta, acc);
        true
    });
    return acc;
}
pub fn lookup_repr_hint ( tcx : ctxt , did : DefId ) -> attr :: ReprAttr { let mut acc = attr :: ReprAny ; ty :: each_attr ( tcx , did , | meta | { acc = attr :: find_repr_attr ( tcx . sess . diagnostic ( ) , meta , acc ) ; true } ) ; return acc ; }
Obtain the the representation annotation for a definition.
Obtain the the representation annotation for a definition .
tcx
ctxt
did
DefId
tcx
ctxt
did
DefId