diff options
| author | lcnr <rust@lcnr.de> | 2023-11-15 17:40:54 +0000 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2023-11-17 08:58:18 +0000 |
| commit | 41cfb20abb1b33af6a1294cd09cdb1203249bd23 (patch) | |
| tree | 4ac3c8a96e4b7662d44951e1fe3f322531441ef4 /compiler/rustc_infer/src | |
| parent | 00bfd6b2734d9c28a147bf237490995731781fdd (diff) | |
| download | rust-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.rs | 2 |
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:?}")) |
