Skip to content

Commit c8e1e8d

Browse files
compiler-errorsjdonszelmann
authored andcommitted
Rename nit
1 parent 0caefea commit c8e1e8d

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

compiler/rustc_hir_typeck/src/fn_ctxt/inspect_obligations.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ use rustc_middle::ty::{self, Ty, TypeVisitableExt};
66
use rustc_span::Span;
77
use rustc_trait_selection::solve::Certainty;
88
use rustc_trait_selection::solve::inspect::{
9-
InspectConfig, InspectGoal, ProofTreeInferCtxtExt, ProofTreeVisitor,
9+
InspectConfig, InspectGoal, InferCtxtProofTreeExt, ProofTreeVisitor,
1010
};
1111
use tracing::{debug, instrument, trace};
1212

compiler/rustc_trait_selection/src/solve/fulfill.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ use tracing::instrument;
2424
use self::derive_errors::*;
2525
use super::Certainty;
2626
use super::delegate::SolverDelegate;
27-
use super::inspect::{self, ProofTreeInferCtxtExt};
27+
use super::inspect::{self, InferCtxtProofTreeExt};
2828
use crate::traits::{FulfillmentError, ScrubbedTraitError};
2929

3030
mod derive_errors;

compiler/rustc_trait_selection/src/solve/fulfill/derive_errors.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ use rustc_next_trait_solver::solve::{GoalEvaluation, SolverDelegateEvalExt as _}
1515
use tracing::{instrument, trace};
1616

1717
use crate::solve::delegate::SolverDelegate;
18-
use crate::solve::inspect::{self, ProofTreeInferCtxtExt, ProofTreeVisitor};
18+
use crate::solve::inspect::{self, InferCtxtProofTreeExt, ProofTreeVisitor};
1919
use crate::solve::{Certainty, deeply_normalize_for_diagnostics};
2020
use crate::traits::{FulfillmentError, FulfillmentErrorCode, wf};
2121

compiler/rustc_trait_selection/src/solve/inspect/analyse.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,7 +463,7 @@ pub trait ProofTreeVisitor<'tcx> {
463463
fn visit_goal(&mut self, goal: &InspectGoal<'_, 'tcx>) -> Self::Result;
464464
}
465465

466-
#[extension(pub trait ProofTreeInferCtxtExt<'tcx>)]
466+
#[extension(pub trait InferCtxtProofTreeExt<'tcx>)]
467467
impl<'tcx> InferCtxt<'tcx> {
468468
fn visit_proof_tree<V: ProofTreeVisitor<'tcx>>(
469469
&self,

compiler/rustc_trait_selection/src/solve/select.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ use rustc_middle::{bug, span_bug};
1212
use rustc_span::Span;
1313
use thin_vec::thin_vec;
1414

15-
use crate::solve::inspect::{self, ProofTreeInferCtxtExt};
15+
use crate::solve::inspect::{self, InferCtxtProofTreeExt};
1616

1717
#[extension(pub trait InferCtxtSelectExt<'tcx>)]
1818
impl<'tcx> InferCtxt<'tcx> {

compiler/rustc_trait_selection/src/traits/coherence.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ use tracing::{debug, instrument, warn};
2929
use super::ObligationCtxt;
3030
use crate::error_reporting::traits::suggest_new_overflow_limit;
3131
use crate::infer::InferOk;
32-
use crate::solve::inspect::{InspectGoal, ProofTreeInferCtxtExt, ProofTreeVisitor};
32+
use crate::solve::inspect::{InspectGoal, InferCtxtProofTreeExt, ProofTreeVisitor};
3333
use crate::solve::{SolverDelegate, deeply_normalize_for_diagnostics, inspect};
3434
use crate::traits::query::evaluate_obligation::InferCtxtExt;
3535
use crate::traits::select::IntercrateAmbiguityCause;

0 commit comments

Comments
 (0)