Skip to content

Commit fab6607

Browse files
committed
compiler: fix typos
1 parent e51e98d commit fab6607

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/rustc_errors/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1698,7 +1698,7 @@ pub enum Level {
16981698
/// internal overflows, some file operation errors.
16991699
///
17001700
/// Its `EmissionGuarantee` is `FatalAbort`, except in the non-aborting "almost fatal" case
1701-
/// that is occasionaly used, where it is `FatalError`.
1701+
/// that is occasionally used, where it is `FatalError`.
17021702
Fatal,
17031703

17041704
/// An error in the code being compiled, which prevents compilation from finishing. This is the

compiler/rustc_hir_typeck/src/fallback.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl<'tcx> FnCtxt<'_, 'tcx> {
8585
return false;
8686
}
8787

88-
// not setting the `fallback_has_occured` field here because
88+
// not setting the `fallback_has_occurred` field here because
8989
// that field is only used for type fallback diagnostics.
9090
for effect in unsolved_effects {
9191
let expected = self.tcx.consts.true_;

0 commit comments

Comments
 (0)