Skip to content

Commit f7f656f

Browse files
committed
Reformat after rebase
1 parent 01690cf commit f7f656f

File tree

6 files changed

+20
-21
lines changed

6 files changed

+20
-21
lines changed

chalk-integration/src/interner.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use crate::tls;
22
use chalk_ir::interner::{HasInterner, Interner};
33
use chalk_ir::{
4-
AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKind, CanonicalVarKinds, Goals, Lifetime,
5-
OpaqueTy, OpaqueTyId, ProgramClauseImplication, ProgramClauses, ProjectionTy,
4+
AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKind, CanonicalVarKinds, Goals,
5+
Lifetime, OpaqueTy, OpaqueTyId, ProgramClauseImplication, ProgramClauses, ProjectionTy,
66
QuantifiedWhereClauses, SeparatorTraitRef, Substitution, TraitId, Ty, VariableKind,
77
VariableKinds,
88
};

chalk-integration/src/program.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ use crate::{tls, Identifier, TypeKind};
33
use chalk_ir::could_match::CouldMatch;
44
use chalk_ir::debug::Angle;
55
use chalk_ir::{
6-
debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, GenericArg, Goal, Goals, ImplId,
7-
Lifetime, OpaqueTy, OpaqueTyId, ProgramClause, ProgramClauseImplication, ProgramClauses,
8-
ProjectionTy, Substitution, TraitId, Ty,
6+
debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, GenericArg, Goal, Goals,
7+
ImplId, Lifetime, OpaqueTy, OpaqueTyId, ProgramClause, ProgramClauseImplication,
8+
ProgramClauses, ProjectionTy, Substitution, TraitId, Ty,
99
};
1010
use chalk_rust_ir::{
1111
AdtDatum, AssociatedTyDatum, AssociatedTyValue, AssociatedTyValueId, ImplDatum, ImplType,

chalk-integration/src/tls.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
use crate::interner::ChalkIr;
22
use chalk_ir::{
3-
debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKinds, GenericArg,
4-
Goal, Goals, Lifetime, OpaqueTy, OpaqueTyId, ProgramClause, ProgramClauseImplication,
5-
ProgramClauses, ProjectionTy, QuantifiedWhereClauses, Substitution, TraitId, Ty,
6-
VariableKinds,
3+
debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKinds,
4+
GenericArg, Goal, Goals, Lifetime, OpaqueTy, OpaqueTyId, ProgramClause,
5+
ProgramClauseImplication, ProgramClauses, ProjectionTy, QuantifiedWhereClauses, Substitution,
6+
TraitId, Ty, VariableKinds,
77
};
88
use std::cell::RefCell;
99
use std::fmt;

chalk-ir/src/visit/boring_impls.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@
77
use crate::{
88
AdtId, AssocTypeId, ClausePriority, DebruijnIndex, FloatTy, GenericArg, Goals, ImplId, IntTy,
99
Interner, Mutability, OpaqueTyId, PlaceholderIndex, ProgramClause, ProgramClauseData,
10-
ProgramClauses, QuantifiedWhereClauses, QuantifierKind, Scalar, Substitution,
11-
SuperVisit, TraitId, UintTy, UniverseIndex, Visit, VisitResult, Visitor,
10+
ProgramClauses, QuantifiedWhereClauses, QuantifierKind, Scalar, Substitution, SuperVisit,
11+
TraitId, UintTy, UniverseIndex, Visit, VisitResult, Visitor,
1212
};
1313
use chalk_engine::{context::Context, ExClause, FlounderedSubgoal, Literal};
1414
use std::{marker::PhantomData, sync::Arc};

chalk-rust-ir/src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use chalk_ir::fold::shift::Shift;
1010
use chalk_ir::interner::{Interner, TargetInterner};
1111
use chalk_ir::{
1212
AdtId, AliasEq, AliasTy, AssocTypeId, Binders, DebruijnIndex, GenericArg, ImplId, OpaqueTyId,
13-
ProjectionTy, QuantifiedWhereClause, Substitution, ToGenericArg, TraitId, TraitRef,
14-
Ty, TyData, TypeName, VariableKind, WhereClause, WithKind,
13+
ProjectionTy, QuantifiedWhereClause, Substitution, ToGenericArg, TraitId, TraitRef, Ty, TyData,
14+
TypeName, VariableKind, WhereClause, WithKind,
1515
};
1616
use std::iter;
1717

chalk-solve/src/wf.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -676,14 +676,13 @@ impl WfWellKnownGoals {
676676
gb.exists(&impl_self_ty, def_adt, |gb, _, impl_adt, def_adt| {
677677
let interner = gb.interner();
678678

679-
// StructName<StructP1..StructPn> = ImplSelfType
680-
GoalData::EqGoal(EqGoal {
681-
a: GenericArgData::Ty(def_adt).intern(interner),
682-
b: GenericArgData::Ty(impl_adt.clone()).intern(interner),
683-
})
684-
.intern(interner)
685-
},
686-
)
679+
// StructName<StructP1..StructPn> = ImplSelfType
680+
GoalData::EqGoal(EqGoal {
681+
a: GenericArgData::Ty(def_adt).intern(interner),
682+
b: GenericArgData::Ty(impl_adt.clone()).intern(interner),
683+
})
684+
.intern(interner)
685+
})
687686
},
688687
);
689688

0 commit comments

Comments
 (0)