We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
EarlyBinder
ImplTraitHeader
tcx.impl_trait_header currently returns EarlyBinder<ImplTraitHeader>. Move this EarlyBinder into the ImplTraitHeader to only wrap the TraitRef:
tcx.impl_trait_header
EarlyBinder<ImplTraitHeader>
TraitRef
pub struct ImplTraitHeader<'tcx> { pub trait_ref: EarlyBinder<TraitRef<'tcx>>, pub polarity: ImplPolarity, pub unsafety: Unsafety, }