Skip to content

Commit da42858

Browse files
authored
Rollup merge of #116596 - lcnr:normalize-subdir, r=compiler-errors
reorder files in solve r? `@compiler-errors`
2 parents de4980c + c70ef36 commit da42858

File tree

7 files changed

+5
-4
lines changed

7 files changed

+5
-4
lines changed

compiler/rustc_trait_selection/src/solve/mod.rs

-3
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,11 @@ mod assembly;
3232
mod canonicalize;
3333
mod eval_ctxt;
3434
mod fulfill;
35-
mod inherent_projection;
3635
pub mod inspect;
3736
mod normalize;
38-
mod opaques;
3937
mod project_goals;
4038
mod search_graph;
4139
mod trait_goals;
42-
mod weak_types;
4340

4441
pub use eval_ctxt::{
4542
EvalCtxt, GenerateProofTree, InferCtxtEvalExt, InferCtxtSelectExt, UseGlobalCache,

compiler/rustc_trait_selection/src/solve/project_goals.rs compiler/rustc_trait_selection/src/solve/project_goals/mod.rs

+4
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ use rustc_middle::ty::{self, Ty, TyCtxt};
1818
use rustc_middle::ty::{ToPredicate, TypeVisitableExt};
1919
use rustc_span::{sym, ErrorGuaranteed, DUMMY_SP};
2020

21+
mod inherent_projection;
22+
mod opaques;
23+
mod weak_types;
24+
2125
impl<'tcx> EvalCtxt<'_, 'tcx> {
2226
#[instrument(level = "debug", skip(self), ret)]
2327
pub(super) fn compute_projection_goal(

compiler/rustc_trait_selection/src/solve/opaques.rs compiler/rustc_trait_selection/src/solve/project_goals/opaques.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use rustc_middle::traits::Reveal;
77
use rustc_middle::ty;
88
use rustc_middle::ty::util::NotUniqueParam;
99

10-
use super::{EvalCtxt, SolverMode};
10+
use crate::solve::{EvalCtxt, SolverMode};
1111

1212
impl<'tcx> EvalCtxt<'_, 'tcx> {
1313
pub(super) fn normalize_opaque_type(

0 commit comments

Comments
 (0)