has_non_exhaustive_attr
clippy_
utils
1.91.0-nightly
(a1208bf76 2025-09-03)
In clippy_
utils::
attrs
clippy_utils
::
attrs
Function
has_
non_
exhaustive_
attr
Copy item path
Source
pub fn has_non_exhaustive_attr(tcx:
TyCtxt
<'_>, adt:
AdtDef
<'_>) ->
bool