Reformat use
declarations.
The previous commit updated `rustfmt.toml` appropriately. This commit is the outcome of running `x fmt --all` with the new formatting options.
This commit is contained in:
parent
118f9350c5
commit
84ac80f192
1865 changed files with 8367 additions and 9199 deletions
|
@ -1,9 +1,10 @@
|
|||
use crate::delegate::SolverDelegate;
|
||||
use rustc_type_ir::fold::{TypeFoldable, TypeFolder, TypeSuperFoldable};
|
||||
use rustc_type_ir::inherent::*;
|
||||
use rustc_type_ir::visit::TypeVisitableExt;
|
||||
use rustc_type_ir::{self as ty, InferCtxtLike, Interner};
|
||||
|
||||
use crate::delegate::SolverDelegate;
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
// EAGER RESOLUTION
|
||||
|
||||
|
|
|
@ -3,12 +3,11 @@
|
|||
pub(super) mod structural_traits;
|
||||
|
||||
use derive_where::derive_where;
|
||||
use rustc_type_ir::elaborate;
|
||||
use rustc_type_ir::fold::TypeFoldable;
|
||||
use rustc_type_ir::inherent::*;
|
||||
use rustc_type_ir::lang_items::TraitSolverLangItem;
|
||||
use rustc_type_ir::visit::TypeVisitableExt as _;
|
||||
use rustc_type_ir::{self as ty, Interner, Upcast as _};
|
||||
use rustc_type_ir::{self as ty, elaborate, Interner, Upcast as _};
|
||||
use tracing::{debug, instrument};
|
||||
|
||||
use crate::delegate::SolverDelegate;
|
||||
|
|
|
@ -21,9 +21,8 @@ use crate::canonicalizer::{CanonicalizeMode, Canonicalizer};
|
|||
use crate::delegate::SolverDelegate;
|
||||
use crate::resolve::EagerResolver;
|
||||
use crate::solve::eval_ctxt::NestedGoals;
|
||||
use crate::solve::inspect;
|
||||
use crate::solve::{
|
||||
response_no_constraints_raw, CanonicalInput, CanonicalResponse, Certainty, EvalCtxt,
|
||||
inspect, response_no_constraints_raw, CanonicalInput, CanonicalResponse, Certainty, EvalCtxt,
|
||||
ExternalConstraintsData, Goal, MaybeCause, NestedNormalizationGoals, NoSolution,
|
||||
PredefinedOpaquesData, QueryInput, QueryResult, Response,
|
||||
};
|
||||
|
|
|
@ -5,8 +5,9 @@ use tracing::instrument;
|
|||
|
||||
use crate::delegate::SolverDelegate;
|
||||
use crate::solve::assembly::Candidate;
|
||||
use crate::solve::inspect;
|
||||
use crate::solve::{BuiltinImplSource, CandidateSource, EvalCtxt, NoSolution, QueryResult};
|
||||
use crate::solve::{
|
||||
inspect, BuiltinImplSource, CandidateSource, EvalCtxt, NoSolution, QueryResult,
|
||||
};
|
||||
|
||||
pub(in crate::solve) struct ProbeCtxt<'me, 'a, D, I, F, T>
|
||||
where
|
||||
|
|
|
@ -13,10 +13,9 @@ use rustc_type_ir::{self as ty, search_graph, Interner};
|
|||
|
||||
use crate::delegate::SolverDelegate;
|
||||
use crate::solve::eval_ctxt::canonical;
|
||||
use crate::solve::inspect;
|
||||
use crate::solve::{
|
||||
CanonicalInput, Certainty, GenerateProofTree, Goal, GoalEvaluationKind, GoalSource, QueryInput,
|
||||
QueryResult,
|
||||
inspect, CanonicalInput, Certainty, GenerateProofTree, Goal, GoalEvaluationKind, GoalSource,
|
||||
QueryInput, QueryResult,
|
||||
};
|
||||
|
||||
/// The core data structure when building proof trees.
|
||||
|
|
|
@ -6,8 +6,7 @@ mod weak_types;
|
|||
use rustc_type_ir::fast_reject::{DeepRejectCtxt, TreatParams};
|
||||
use rustc_type_ir::inherent::*;
|
||||
use rustc_type_ir::lang_items::TraitSolverLangItem;
|
||||
use rustc_type_ir::Upcast as _;
|
||||
use rustc_type_ir::{self as ty, Interner, NormalizesTo};
|
||||
use rustc_type_ir::{self as ty, Interner, NormalizesTo, Upcast as _};
|
||||
use tracing::instrument;
|
||||
|
||||
use crate::delegate::SolverDelegate;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue