about summary refs log tree commit diff
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-03-20 10:46:43 +0100
committerlcnr <rust@lcnr.de>2023-03-20 10:46:43 +0100
commit5b4fa5bf989e4d630512998789f4bb79f1d9f134 (patch)
tree7fcd8bf6e5fae2d9dea2d790bd3e68a0b26e6572
parente91364bcf5100017a8bd5b18cdebefdd3e5f0bb1 (diff)
downloadrust-5b4fa5bf989e4d630512998789f4bb79f1d9f134.tar.gz
rust-5b4fa5bf989e4d630512998789f4bb79f1d9f134.zip
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 fe44fabf57d..b5e8de3c9a7 100644
--- a/compiler/rustc_hir_analysis/src/collect/type_of.rs
+++ b/compiler/rustc_hir_analysis/src/collect/type_of.rs
@@ -593,7 +593,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>>,
     }