Skip to content

Commit

Permalink
Update compiler/rustc_middle/src/ty/normalize_erasing_regions.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Rémy Rakic <remy.rakic+github@gmail.com>
  • Loading branch information
nikomatsakis and lqd committed Jul 4, 2021
1 parent 9bdfde0 commit 86a5a65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_middle/src/ty/normalize_erasing_regions.rs
Expand Up @@ -113,7 +113,7 @@ impl TypeFolder<'tcx> for NormalizeAfterErasingRegionsFolder<'tcx> {

#[inline]
fn fold_mir_const(&mut self, c: mir::ConstantKind<'tcx>) -> mir::ConstantKind<'tcx> {
// FIXME: This *probalby* needs canonicalization too!
// FIXME: This *probably* needs canonicalization too!
let arg = self.param_env.and(c);
self.tcx.normalize_mir_const_after_erasing_regions(arg)
}
Expand Down

0 comments on commit 86a5a65

Please sign in to comment.