clippy_utils::attrs

Function has_non_exhaustive_attr

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