diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-21 14:59:53 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-02-21 14:59:53 +0000 |
| commit | 2fc920549be505e419ed4458695fb088c30ba3d7 (patch) | |
| tree | 03b2ebfbe65968ce54116b66721fa44e3743f6b4 /compiler/rustc_mir_transform/src | |
| parent | a18bd8acfc32dbfbbe150cd52eecf24e67fb69b6 (diff) | |
| download | rust-2fc920549be505e419ed4458695fb088c30ba3d7.tar.gz rust-2fc920549be505e419ed4458695fb088c30ba3d7.zip | |
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
