diff options
| author | lcnr <rust@lcnr.de> | 2025-09-16 15:18:42 +0200 | 
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-09-18 23:56:20 +0200 | 
| commit | a08e6499e6a215021684681448ed0f3ce60c827a (patch) | |
| tree | 0a93571c31af7949c69068778a07fd1d98bea526 /compiler/rustc_next_trait_solver/src/solve/mod.rs | |
| parent | 0c0c58b8e453f552ebd7f3a1545acdd109de028c (diff) | |
| download | rust-a08e6499e6a215021684681448ed0f3ce60c827a.tar.gz rust-a08e6499e6a215021684681448ed0f3ce60c827a.zip  | |
move `mod canonical` out of `eval_ctxt`
Diffstat (limited to 'compiler/rustc_next_trait_solver/src/solve/mod.rs')
| -rw-r--r-- | compiler/rustc_next_trait_solver/src/solve/mod.rs | 19 | 
1 files changed, 0 insertions, 19 deletions
diff --git a/compiler/rustc_next_trait_solver/src/solve/mod.rs b/compiler/rustc_next_trait_solver/src/solve/mod.rs index fb900b592d1..afb86aaf8ab 100644 --- a/compiler/rustc_next_trait_solver/src/solve/mod.rs +++ b/compiler/rustc_next_trait_solver/src/solve/mod.rs @@ -380,25 +380,6 @@ where } } -fn response_no_constraints_raw<I: Interner>( - cx: I, - max_universe: ty::UniverseIndex, - variables: I::CanonicalVarKinds, - certainty: Certainty, -) -> CanonicalResponse<I> { - ty::Canonical { - max_universe, - variables, - value: Response { - var_values: ty::CanonicalVarValues::make_identity(cx, variables), - // FIXME: maybe we should store the "no response" version in cx, like - // we do for cx.types and stuff. - external_constraints: cx.mk_external_constraints(ExternalConstraintsData::default()), - certainty, - }, - } -} - /// The result of evaluating a goal. pub struct GoalEvaluation<I: Interner> { /// The goal we've evaluated. This is the input goal, but potentially with its  | 
