Skip to content

Commit face090

Browse files
committed
rm try_normalize_mir_const_after_erasing_regions
1 parent e8150fa commit face090

File tree

2 files changed

+0
-11
lines changed

2 files changed

+0
-11
lines changed

compiler/rustc_middle/src/query/mod.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1871,14 +1871,6 @@ rustc_queries! {
18711871
remap_env_constness
18721872
}
18731873

1874-
/// Do not call this query directly: invoke `try_normalize_erasing_regions` instead.
1875-
query try_normalize_mir_const_after_erasing_regions(
1876-
goal: ParamEnvAnd<'tcx, mir::ConstantKind<'tcx>>
1877-
) -> Result<mir::ConstantKind<'tcx>, NoSolution> {
1878-
desc { "normalizing `{}`", goal.value }
1879-
remap_env_constness
1880-
}
1881-
18821874
query implied_outlives_bounds(
18831875
goal: CanonicalTyGoal<'tcx>
18841876
) -> Result<

compiler/rustc_traits/src/normalize_erasing_regions.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,6 @@ pub(crate) fn provide(p: &mut Providers) {
1818

1919
try_normalize_after_erasing_regions(tcx, goal)
2020
},
21-
try_normalize_mir_const_after_erasing_regions: |tcx, goal| {
22-
try_normalize_after_erasing_regions(tcx, goal)
23-
},
2421
..*p
2522
};
2623
}

0 commit comments

Comments
 (0)