Move a field around

This commit is contained in:
Oli Scherer 2022-11-14 17:35:40 +00:00
parent 9cd44f8142
commit 9a8e1eea7a

View File

@ -572,9 +572,10 @@ pub struct InferCtxtBuilder<'tcx> {
tcx: TyCtxt<'tcx>,
defining_use_anchor: DefiningAnchor,
considering_regions: bool,
/// Whether we are in coherence mode.
intercrate: bool,
normalize_fn_sig_for_diagnostic:
Option<Lrc<dyn Fn(&InferCtxt<'tcx>, ty::PolyFnSig<'tcx>) -> ty::PolyFnSig<'tcx>>>,
intercrate: bool,
}
pub trait TyCtxtInferExt<'tcx> {