diff options
| author | bors <bors@rust-lang.org> | 2025-07-05 06:29:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2025-07-05 06:29:56 +0000 |
| commit | f0b67dd97d74610ee4185cf01c775a563c2017a2 (patch) | |
| tree | c34f0fd7ed315275affdd9051aca537205eada80 /compiler/rustc_pattern_analysis/tests/complexity.rs | |
| parent | 733b47ea4b1b86216f14ef56e49440c33933f230 (diff) | |
| parent | dc8cac8e8d1e7e8f9535bd53c4aa7d70cce617fb (diff) | |
| download | rust-f0b67dd97d74610ee4185cf01c775a563c2017a2.tar.gz rust-f0b67dd97d74610ee4185cf01c775a563c2017a2.zip | |
Auto merge of #139598 - compiler-errors:no-bound-var-symbol, r=WaffleLapkin
Remove `Symbol` from `Named` variant of `BoundRegionKind`/`LateParamRegionKind` The `Symbol` is redundant, since we already store a `DefId` in the region variant. Instead, load the name via `item_name` when needed (which is almost always on the diagnostic path). This introduces a `BoundRegionKind::NamedAnon` which is used for giving anonymous bound regions names, but which should only be used during pretty printing and error reporting.
Diffstat (limited to 'compiler/rustc_pattern_analysis/tests/complexity.rs')
0 files changed, 0 insertions, 0 deletions
