has_non_exhaustive_attr
clippy_
utils
1.92.0-nightly
(52618eb33 2025-09-14)
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