Skip to content

Commit 0558180

Browse files
committed
fmt
1 parent e332d7c commit 0558180

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

compiler/rustc_next_trait_solver/src/solve/eval_ctxt/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ use crate::coherence;
2121
use crate::delegate::SolverDelegate;
2222
use crate::placeholder::BoundVarReplacer;
2323
use crate::solve::inspect::{self, ProofTreeBuilder};
24-
use crate::solve::ty::may_use_unstable_feature;
2524
use crate::solve::search_graph::SearchGraph;
25+
use crate::solve::ty::may_use_unstable_feature;
2626
use crate::solve::{
2727
CanonicalInput, Certainty, FIXPOINT_STEP_LIMIT, Goal, GoalEvaluation, GoalEvaluationKind,
2828
GoalSource, GoalStalledOn, HasChanged, NestedNormalizationGoals, NoSolution, QueryInput,

compiler/rustc_type_ir/src/infer_ctxt.rs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -284,16 +284,15 @@ pub trait InferCtxtLike: Sized {
284284
);
285285

286286
fn reset_opaque_types(&self);
287-
288287
}
289288

290-
291289
pub fn may_use_unstable_feature<'a, I: Interner, Infcx>(
292290
infcx: &'a Infcx,
293291
param_env: I::ParamEnv,
294292
symbol: I::Symbol,
295-
) -> bool
296-
where Infcx: InferCtxtLike<Interner = I>
293+
) -> bool
294+
where
295+
Infcx: InferCtxtLike<Interner = I>,
297296
{
298297
// Iterate through all goals in param_env to find the one that has the same symbol.
299298
for pred in param_env.caller_bounds().iter() {

0 commit comments

Comments
 (0)