pub fn is_trait_impl_item(cx: &LateContext<'_>, hir_id: HirId) -> boolExpand description
Check if parent of a hir node is a trait implementation block.
For example, f in
impl Trait for S {
fn f() {}
}pub fn is_trait_impl_item(cx: &LateContext<'_>, hir_id: HirId) -> boolCheck if parent of a hir node is a trait implementation block.
For example, f in
impl Trait for S {
fn f() {}
}