Function repr_attributes

Source
pub(crate) fn repr_attributes(
    tcx: TyCtxt<'_>,
    cache: &Cache,
    def_id: DefId,
    item_type: ItemType,
) -> Option<String>
Expand description

Return a string representing the #[repr] attribute if present.

Only used by the HTML output-format.