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_infer/src/infer/context.rs | |
| parent | 44254c8cd79810fb2ff575d88e75c979bb7f1fc4 (diff) | |
| download | rust-c995070b6a312ff9f481d6de55f58bfe16a76bb7.tar.gz rust-c995070b6a312ff9f481d6de55f58bfe16a76bb7.zip | |
rename RegionVariableOrigin::MiscVariable to RegionVariableOrigin::Misc
Diffstat (limited to 'compiler/rustc_infer/src/infer/context.rs')
| -rw-r--r-- | compiler/rustc_infer/src/infer/context.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_infer/src/infer/context.rs b/compiler/rustc_infer/src/infer/context.rs index f7c702d321b..bb9c8850093 100644 --- a/compiler/rustc_infer/src/infer/context.rs +++ b/compiler/rustc_infer/src/infer/context.rs @@ -141,7 +141,7 @@ impl<'tcx> rustc_type_ir::InferCtxtLike for InferCtxt<'tcx> { } fn next_region_infer(&self) -> ty::Region<'tcx> { - self.next_region_var(RegionVariableOrigin::MiscVariable(DUMMY_SP)) + self.next_region_var(RegionVariableOrigin::Misc(DUMMY_SP)) } fn next_ty_infer(&self) -> Ty<'tcx> { |
