diff options
| author | Alona Enraght-Moony <code@alona.page> | 2024-12-06 18:47:50 +0000 |
|---|---|---|
| committer | Alona Enraght-Moony <code@alona.page> | 2025-03-12 22:10:27 +0000 |
| commit | a05d6ab8b7b303c4b2010f57c1a496e1f8f90216 (patch) | |
| tree | 0a51e40a0d3e18c4c1dfd91c669905c5134a1253 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp | |
| parent | 0a477921a82b6455430b0116427910e1ad6d3dd0 (diff) | |
| download | rust-a05d6ab8b7b303c4b2010f57c1a496e1f8f90216.tar.gz rust-a05d6ab8b7b303c4b2010f57c1a496e1f8f90216.zip | |
rustdoc-json: Clean up & Document id handling
Alot of the current id handling is weird and unnecessary. e.g: 1. The fully uninterned id type was (FullItemId, Option<FullItemId>) meaning it wasn't actually full! 2. None of the extra fields in Option<FullItemId> would ever be used 3. imported_item_id was a rustdoc_json_types::Id instead of a simpler DefId This commit removes the unnessessary complexity, and documents where the remaining complexity comes from. Co-authored-by: León Orell Valerian Liehr <me@fmease.dev>
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
