diff options
| author | Boxy <rust@boxyuwu.dev> | 2025-08-21 16:50:54 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-09-09 14:49:16 +0200 |
| commit | e379c7758667f900aaf5551c4553c7d4c121e3e1 (patch) | |
| tree | c181eeace32e95f479fe817db4261200beb69662 /compiler/rustc_lint/src/deref_into_dyn_supertrait.rs | |
| parent | fefce3cecd63cebf2d7c9aa3dd90a84379fcfa1a (diff) | |
| download | rust-e379c7758667f900aaf5551c4553c7d4c121e3e1.tar.gz rust-e379c7758667f900aaf5551c4553c7d4c121e3e1.zip | |
erase_regions to erase_and_anonymize_regions
Diffstat (limited to 'compiler/rustc_lint/src/deref_into_dyn_supertrait.rs')
| -rw-r--r-- | compiler/rustc_lint/src/deref_into_dyn_supertrait.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_lint/src/deref_into_dyn_supertrait.rs b/compiler/rustc_lint/src/deref_into_dyn_supertrait.rs index 943fcc0801b..e1c51ff8299 100644 --- a/compiler/rustc_lint/src/deref_into_dyn_supertrait.rs +++ b/compiler/rustc_lint/src/deref_into_dyn_supertrait.rs @@ -78,7 +78,7 @@ impl<'tcx> LateLintPass<'tcx> for DerefIntoDynSupertrait { { // erase regions in self type for better diagnostic presentation let (self_ty, target_principal, supertrait_principal) = - tcx.erase_regions((self_ty, target_principal, supertrait_principal)); + tcx.erase_and_anonymize_regions((self_ty, target_principal, supertrait_principal)); let label2 = tcx .associated_items(item.owner_id) .find_by_ident_and_kind( |
