Function clippy_utils::in_automatically_derived
source ยท pub fn in_automatically_derived(tcx: TyCtxt<'_>, id: HirId) -> bool
Expand description
Checks if the given HIR node is inside an impl
block with the automatically_derived
attribute.