about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver/src
diff options
context:
space:
mode:
authorbinarycat <binarycat@envs.net>2025-08-06 17:21:25 -0500
committerbinarycat <binarycat@envs.net>2025-08-16 09:51:44 -0500
commite31fed054bc19845b04ee0be50c1254174e87ad0 (patch)
treef6abc24073b265df940cd2d79ef0879358a53f4e /compiler/rustc_next_trait_solver/src
parent2e2642e641a941f0a1400c7827fd89aa86fef8f4 (diff)
downloadrust-e31fed054bc19845b04ee0be50c1254174e87ad0.tar.gz
rust-e31fed054bc19845b04ee0be50c1254174e87ad0.zip
run spellcheck as a tidy extra check in ci
Diffstat (limited to 'compiler/rustc_next_trait_solver/src')
-rw-r--r--compiler/rustc_next_trait_solver/src/canonicalizer.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_next_trait_solver/src/canonicalizer.rs b/compiler/rustc_next_trait_solver/src/canonicalizer.rs
index 1bc35e599c7..3e1f48610ff 100644
--- a/compiler/rustc_next_trait_solver/src/canonicalizer.rs
+++ b/compiler/rustc_next_trait_solver/src/canonicalizer.rs
@@ -27,7 +27,7 @@ enum CanonicalizeInputKind {
     ParamEnv,
     /// When canonicalizing predicates, we don't keep `'static`. If we're
     /// currently outside of the trait solver and canonicalize the root goal
-    /// during HIR typeck, we replace each occurance of a region with a
+    /// during HIR typeck, we replace each occurrence of a region with a
     /// unique region variable. See the comment on `InferCtxt::in_hir_typeck`
     /// for more details.
     Predicate { is_hir_typeck_root_goal: bool },