diff options
| author | bors <bors@rust-lang.org> | 2024-11-05 08:30:56 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-11-05 08:30:56 +0000 |
| commit | d8a3fcc7924011889045e06a8fde65c9cf3f8e1b (patch) | |
| tree | d18a174b8e357de3589be6faba87e19b4073facf /tests/rustdoc-js-std/parser-errors.js | |
| parent | 63d0ba9de9bc51ee89c4c227add405d2f7a4a579 (diff) | |
| parent | efeed550c4d026f826ecb007cddd86bfe2b4db35 (diff) | |
| download | rust-d8a3fcc7924011889045e06a8fde65c9cf3f8e1b.tar.gz rust-d8a3fcc7924011889045e06a8fde65c9cf3f8e1b.zip | |
Auto merge of #132580 - compiler-errors:globs, r=Noratrieb
Remove unnecessary pub enum glob-imports from `rustc_middle::ty` We used to have an idiom in the compiler where we'd prefix or suffix all the variants of an enum, for example `BoundRegionKind`, with something like `Br`, and then *glob-import* that enum variant directly. `@noratrieb` brought this up, and I think that it's easier to read when we just use the normal style `EnumName::Variant`. This PR is a bit large, but it's just naming. The only somewhat opinionated change that this PR does is rename `BorrowKind::Imm` to `BorrowKind::Immutable` and same for the other variants. I think these enums are used sparingly enough that the extra length is fine. r? `@noratrieb` or reassign
Diffstat (limited to 'tests/rustdoc-js-std/parser-errors.js')
0 files changed, 0 insertions, 0 deletions
