Skip to content

Commit 7754322

Browse files
RalfJunglcnr
andcommitted
fix typo
Co-authored-by: Bastian Kauschke <bastian_kauschke@hotmail.de>
1 parent 91f73fb commit 7754322

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/transform/validate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ impl<'a, 'tcx> TypeChecker<'a, 'tcx> {
9595
}
9696
// Normalize projections and things like that.
9797
// FIXME: We need to reveal_all, as some optimizations change types in ways
98-
// that requires unfolding opaque types.
98+
// that require unfolding opaque types.
9999
let param_env = self.param_env.with_reveal_all();
100100
let src = self.tcx.normalize_erasing_regions(param_env, src);
101101
let dest = self.tcx.normalize_erasing_regions(param_env, dest);

0 commit comments

Comments
 (0)