clippy_utils::attrs

Function has_non_exhaustive_attr

Source
pub fn has_non_exhaustive_attr(tcx: TyCtxt<'_>, adt: AdtDef<'_>) -> bool