Get rid of InferCtxtExt from error_reporting::traits
#128076
Merged
InferCtxtExt from error_reporting::traits
#128076