Function rustc_resolve::late::lifetimes::sub_items_have_self_param [−][src]
Expand description
In traits, there is an implicit Self
type parameter which comes before the generics.
We have to account for this when computing the index of the other generic parameters.
This function returns whether there is such an implicit parameter defined on the given item.