fn try_filter_trait_item_definition(
sema: &Semantics<'_, RootDatabase>,
def: &Definition,
) -> Option<Vec<NavigationTarget>>Expand description
finds the trait definition of an impl’d item, except function e.g.
trait A { type a; }
struct S;
impl A for S { type a = i32; } // <-- on this associate type, will get the location of a in the trait