has_non_exhaustive_attr
clippy_
utils
1.91.0-nightly
(7ad23f43a 2025-09-09)
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