has_non_exhaustive_attr
clippy_
utils
1.91.0-nightly
(cdb45c87e 2025-08-27)
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