clippy_
utils
1.88.0-beta.4
(95597e848 2025-05-25)
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