about summary refs log tree commit diff
path: root/compiler/rustc_infer/src
diff options
context:
space:
mode:
authorlcnr <rust@lcnr.de>2023-11-15 17:40:54 +0000
committerlcnr <rust@lcnr.de>2023-11-17 08:58:18 +0000
commit41cfb20abb1b33af6a1294cd09cdb1203249bd23 (patch)
tree4ac3c8a96e4b7662d44951e1fe3f322531441ef4 /compiler/rustc_infer/src
parent00bfd6b2734d9c28a147bf237490995731781fdd (diff)
downloadrust-41cfb20abb1b33af6a1294cd09cdb1203249bd23.tar.gz
rust-41cfb20abb1b33af6a1294cd09cdb1203249bd23.zip
replace unnecessary folder impls with fold_region
Diffstat (limited to 'compiler/rustc_infer/src')
-rw-r--r--compiler/rustc_infer/src/errors/note_and_explain.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/errors/note_and_explain.rs b/compiler/rustc_infer/src/errors/note_and_explain.rs
index 294bd9d1d54..3ee4710bdef 100644
--- a/compiler/rustc_infer/src/errors/note_and_explain.rs
+++ b/compiler/rustc_infer/src/errors/note_and_explain.rs
@@ -75,7 +75,7 @@ impl<'a> DescriptionCtx<'a> {
             // We shouldn't really be having unification failures with ReVar
             // and ReBound though.
             //
-            // FIXME(@lcnr): figure out why we `ReBound` have to handle `ReBound`
+            // FIXME(@lcnr): figure out why we have to handle `ReBound`
             // here, this feels somewhat off.
             ty::ReVar(_) | ty::ReBound(..) | ty::ReErased => {
                 (alt_span, "revar", format!("{region:?}"))