diff options
| author | Michael Goulet <michael@errs.io> | 2025-04-11 04:17:19 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2025-07-04 18:14:22 +0000 |
| commit | 42c9bfd2b96f2e6cd0e4e6fab21c2d5499883089 (patch) | |
| tree | 7ce9fcacfe304104d232cb1a1091c1131e465a44 /compiler/rustc_middle/src/ty/context.rs | |
| parent | 0c4fa2690de945f062668acfc36b3f8cfbd013e2 (diff) | |
| download | rust-42c9bfd2b96f2e6cd0e4e6fab21c2d5499883089.tar.gz rust-42c9bfd2b96f2e6cd0e4e6fab21c2d5499883089.zip | |
Remove Symbol for Named LateParam/Bound variants
Diffstat (limited to 'compiler/rustc_middle/src/ty/context.rs')
| -rw-r--r-- | compiler/rustc_middle/src/ty/context.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/rustc_middle/src/ty/context.rs b/compiler/rustc_middle/src/ty/context.rs index 8aa50d14faa..021d0148fd1 100644 --- a/compiler/rustc_middle/src/ty/context.rs +++ b/compiler/rustc_middle/src/ty/context.rs @@ -3279,10 +3279,7 @@ impl<'tcx> TyCtxt<'tcx> { return ty::Region::new_late_param( self, new_parent.to_def_id(), - ty::LateParamRegionKind::Named( - lbv.to_def_id(), - self.item_name(lbv.to_def_id()), - ), + ty::LateParamRegionKind::Named(lbv.to_def_id()), ); } resolve_bound_vars::ResolvedArg::Error(guar) => { |
