Module rustc_middle::traits::util

source ·

Structs

Functions

  • Given a PolyTraitRef, get the PolyTraitRefs of the trait’s (transitive) supertraits. This only exists in rustc_middle because the more powerful elaborator depends on rustc_infer for elaborating outlives bounds – this should only be used for pretty printing.