We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01690cf commit f7f656fCopy full SHA for f7f656f
chalk-integration/src/interner.rs
@@ -1,8 +1,8 @@
1
use crate::tls;
2
use chalk_ir::interner::{HasInterner, Interner};
3
use chalk_ir::{
4
- AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKind, CanonicalVarKinds, Goals, Lifetime,
5
- OpaqueTy, OpaqueTyId, ProgramClauseImplication, ProgramClauses, ProjectionTy,
+ AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKind, CanonicalVarKinds, Goals,
+ Lifetime, OpaqueTy, OpaqueTyId, ProgramClauseImplication, ProgramClauses, ProjectionTy,
6
QuantifiedWhereClauses, SeparatorTraitRef, Substitution, TraitId, Ty, VariableKind,
7
VariableKinds,
8
};
chalk-integration/src/program.rs
@@ -3,9 +3,9 @@ use crate::{tls, Identifier, TypeKind};
use chalk_ir::could_match::CouldMatch;
use chalk_ir::debug::Angle;
- debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, GenericArg, Goal, Goals, ImplId,
- Lifetime, OpaqueTy, OpaqueTyId, ProgramClause, ProgramClauseImplication, ProgramClauses,
- ProjectionTy, Substitution, TraitId, Ty,
+ debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, GenericArg, Goal, Goals,
+ ImplId, Lifetime, OpaqueTy, OpaqueTyId, ProgramClause, ProgramClauseImplication,
+ ProgramClauses, ProjectionTy, Substitution, TraitId, Ty,
9
10
use chalk_rust_ir::{
11
AdtDatum, AssociatedTyDatum, AssociatedTyValue, AssociatedTyValueId, ImplDatum, ImplType,
chalk-integration/src/tls.rs
@@ -1,9 +1,9 @@
use crate::interner::ChalkIr;
- debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKinds, GenericArg,
- Goal, Goals, Lifetime, OpaqueTy, OpaqueTyId, ProgramClause, ProgramClauseImplication,
- ProgramClauses, ProjectionTy, QuantifiedWhereClauses, Substitution, TraitId, Ty,
- VariableKinds,
+ debug::SeparatorTraitRef, AdtId, AliasTy, ApplicationTy, AssocTypeId, CanonicalVarKinds,
+ GenericArg, Goal, Goals, Lifetime, OpaqueTy, OpaqueTyId, ProgramClause,
+ ProgramClauseImplication, ProgramClauses, ProjectionTy, QuantifiedWhereClauses, Substitution,
+ TraitId, Ty, VariableKinds,
use std::cell::RefCell;
use std::fmt;
chalk-ir/src/visit/boring_impls.rs
@@ -7,8 +7,8 @@
use crate::{
AdtId, AssocTypeId, ClausePriority, DebruijnIndex, FloatTy, GenericArg, Goals, ImplId, IntTy,
Interner, Mutability, OpaqueTyId, PlaceholderIndex, ProgramClause, ProgramClauseData,
- ProgramClauses, QuantifiedWhereClauses, QuantifierKind, Scalar, Substitution,
- SuperVisit, TraitId, UintTy, UniverseIndex, Visit, VisitResult, Visitor,
+ ProgramClauses, QuantifiedWhereClauses, QuantifierKind, Scalar, Substitution, SuperVisit,
+ TraitId, UintTy, UniverseIndex, Visit, VisitResult, Visitor,
12
13
use chalk_engine::{context::Context, ExClause, FlounderedSubgoal, Literal};
14
use std::{marker::PhantomData, sync::Arc};
chalk-rust-ir/src/lib.rs
@@ -10,8 +10,8 @@ use chalk_ir::fold::shift::Shift;
use chalk_ir::interner::{Interner, TargetInterner};
AdtId, AliasEq, AliasTy, AssocTypeId, Binders, DebruijnIndex, GenericArg, ImplId, OpaqueTyId,
- ProjectionTy, QuantifiedWhereClause, Substitution, ToGenericArg, TraitId, TraitRef,
- Ty, TyData, TypeName, VariableKind, WhereClause, WithKind,
+ ProjectionTy, QuantifiedWhereClause, Substitution, ToGenericArg, TraitId, TraitRef, Ty, TyData,
+ TypeName, VariableKind, WhereClause, WithKind,
15
16
use std::iter;
17
chalk-solve/src/wf.rs
@@ -676,14 +676,13 @@ impl WfWellKnownGoals {
676
gb.exists(&impl_self_ty, def_adt, |gb, _, impl_adt, def_adt| {
677
let interner = gb.interner();
678
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
- )
+ // StructName<StructP1..StructPn> = ImplSelfType
+ GoalData::EqGoal(EqGoal {
+ a: GenericArgData::Ty(def_adt).intern(interner),
+ b: GenericArgData::Ty(impl_adt.clone()).intern(interner),
+ })
+ .intern(interner)
687
},
688
);
689
0 commit comments