diff options
| author | Michael Goulet <michael@errs.io> | 2025-06-18 18:00:30 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-06-25 15:35:18 +0000 |
| commit | c995070b6a312ff9f481d6de55f58bfe16a76bb7 (patch) | |
| tree | a7a8cafbad3fd9a945c7101eeb9552981ea76b5e /compiler/rustc_hir_analysis/src/check/check.rs | |
| parent | 44254c8cd79810fb2ff575d88e75c979bb7f1fc4 (diff) | |
| download | rust-c995070b6a312ff9f481d6de55f58bfe16a76bb7.tar.gz rust-c995070b6a312ff9f481d6de55f58bfe16a76bb7.zip | |
rename RegionVariableOrigin::MiscVariable to RegionVariableOrigin::Misc
Diffstat (limited to 'compiler/rustc_hir_analysis/src/check/check.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/check/check.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/check/check.rs b/compiler/rustc_hir_analysis/src/check/check.rs index 485dd1d2204..f08a2451496 100644 --- a/compiler/rustc_hir_analysis/src/check/check.rs +++ b/compiler/rustc_hir_analysis/src/check/check.rs @@ -312,7 +312,7 @@ fn check_opaque_meets_bounds<'tcx>( // here rather than using ReErased. let hidden_ty = tcx.type_of(def_id.to_def_id()).instantiate(tcx, args); let hidden_ty = fold_regions(tcx, hidden_ty, |re, _dbi| match re.kind() { - ty::ReErased => infcx.next_region_var(RegionVariableOrigin::MiscVariable(span)), + ty::ReErased => infcx.next_region_var(RegionVariableOrigin::Misc(span)), _ => re, }); |
