about summary refs log tree commit diff
diff options
context:
space:
mode:
authornils <48135649+Nilstrieb@users.noreply.github.com>2023-03-21 13:00:24 +0100
committerGitHub <noreply@github.com>2023-03-21 13:00:24 +0100
commitc0adce567ec20fe400fd00e0be0a4cd9326c06d5 (patch)
tree7ea6c70111d62a5700c8e1b1a7edff67e2489fd0
parent66ba60a4455126598120af29bcc48cec2306d9b9 (diff)
parent5b4fa5bf989e4d630512998789f4bb79f1d9f134 (diff)
downloadrust-c0adce567ec20fe400fd00e0be0a4cd9326c06d5.tar.gz
rust-c0adce567ec20fe400fd00e0be0a4cd9326c06d5.zip
Rollup merge of #109385 - lcnr:typo, r=Dylan-DPC
fix typo
-rw-r--r--compiler/rustc_hir_analysis/src/collect/type_of.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/collect/type_of.rs b/compiler/rustc_hir_analysis/src/collect/type_of.rs
index 4bbea878904..7ab7a8c4c1b 100644
--- a/compiler/rustc_hir_analysis/src/collect/type_of.rs
+++ b/compiler/rustc_hir_analysis/src/collect/type_of.rs
@@ -605,7 +605,7 @@ fn find_opaque_ty_constraints_for_tait(tcx: TyCtxt<'_>, def_id: LocalDefId) -> T
         found: Option<ty::OpaqueHiddenType<'tcx>>,
 
         /// In the presence of dead code, typeck may figure out a hidden type
-        /// while borrowck will now. We collect these cases here and check at
+        /// while borrowck will not. We collect these cases here and check at
         /// the end that we actually found a type that matches (modulo regions).
         typeck_types: Vec<ty::OpaqueHiddenType<'tcx>>,
     }