diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2025-02-22 11:36:45 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-22 11:36:45 +0100 |
| commit | f13feb34dca81ad7f2fd8f1a80d29d1cfd526630 (patch) | |
| tree | 154955d137d8ea5c38c669fc1ee522197eed9229 /compiler/rustc_mir_transform/src | |
| parent | b0286b5c21cd5ea11cd8a9d93e92a8f3df8c1959 (diff) | |
| parent | 2fc920549be505e419ed4458695fb088c30ba3d7 (diff) | |
| download | rust-f13feb34dca81ad7f2fd8f1a80d29d1cfd526630.tar.gz rust-f13feb34dca81ad7f2fd8f1a80d29d1cfd526630.zip | |
Rollup merge of #137377 - bjorn3:crate_loader_cleanup, r=compiler-errors
Always allow reusing cratenum in CrateLoader::load The only case where can_reuse_cratenum could have been false in the past are rustc plugins, support for which has been removed over a year ago now. Nowadays the only case where locator.tuple is not target_triple is when loading a proc macro, in which case we also set can_reuse_cratenum to true. As such it is always true and we can remove some dead code.
Diffstat (limited to 'compiler/rustc_mir_transform/src')
0 files changed, 0 insertions, 0 deletions
