about summary refs log tree commit diff
path: root/compiler/rustc_span/src/def_id.rs
AgeCommit message (Expand)AuthorLines
2025-06-22Hash less while hashing def-ids.Camille GILLOT-3/+15
2025-02-16Move hashes from rustc_data_structure to rustc_hashes so they can be shared w...Ben Kimock-3/+2
2024-09-22Reformat using the new identifier sorting from rustfmtMichael Goulet-1/+1
2024-07-29Reformat `use` declarations.Nicholas Nethercote-3/+5
2024-06-22Ensure careful consideration is given by implsAlan Egerton-1/+3
2024-06-12Un-unsafe the `StableOrd` traitAlan Egerton-2/+2
2024-04-29Remove `extern crate rustc_macros` from numerous crates.Nicholas Nethercote-1/+1
2024-04-03rustc_index: Add a `ZERO` constant to index typesVadim Petrochenkov-1/+1
2024-03-27Ensure no one re-adds `Partial/Ord` impls for `DefId`Oli Scherer-0/+6
2024-03-27Remove `DefId`'s `Partial/Ord` implsOli Scherer-18/+0
2024-01-06Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiserbors-43/+4
2024-01-04Make iteration order of region_scope_tree query stableMichael Woerister-1/+17
2023-12-31Remove almost all uses of specialization from the metadata encoding codebjorn3-43/+4
2023-12-23Specialize DefPathHash table to skip crate IDsMark Rousskov-2/+0
2023-11-28Remove a comment.Nicholas Nethercote-1/+0
2023-11-22Replace `no_ord_impl` with `orderable`.Nicholas Nethercote-0/+2
2023-11-22Replace `custom_encodable` with `encodable`.Nicholas Nethercote-2/+1
2023-08-14Use `{Local}ModDefId` in many queriesNilstrieb-1/+1
2023-08-13Add typed `{Local}DefId` for modulesNilstrieb-0/+95
2023-05-17Only depend on CFG_VERSION in rustc_interfacejyn-2/+7
2023-04-24Split `{Idx, IndexVec, IndexSlice}` into their own modulesMaybe Waffle-1/+1
2023-04-18Add #[inline] to some new functionsBen Kimock-0/+1
2023-04-18Store hashes in special types so they aren't accidentally encoded as numbersBen Kimock-20/+18
2023-03-21Eagerly intern and check CrateNum/StableCrateId collisionsOli Scherer-1/+5
2023-03-03Match unmatched backticks in comments in compiler/est31-1/+1
2023-02-16Replace some `then`s with some `then_some`sMaybe Waffle-1/+1
2023-02-16`if $c:expr { Some($r:expr) } else { None }` =>> `$c.then(|| $r)`Maybe Waffle-2/+2
2023-02-05rustc_metadata: Encode/decode `DefPathHash`es without an `Option`Vadim Petrochenkov-0/+6
2023-01-05Fix `uninlined_format_args` for some compiler cratesnils-1/+1
2022-12-18A few small cleanups for `newtype_index`Nilstrieb-3/+2
2022-12-18Make `#[debug_format]` an attribute in `newtype_index`Nilstrieb-2/+2
2022-12-18Make `#[custom_encodable]` an attribute for `newtype_index`Nilstrieb-3/+2
2022-12-08Rollup merge of #105423 - oli-obk:symbols, r=jackh726Matthias Krüger-3/+5
2022-12-07Use `Symbol` for the crate name instead of `String`/`str`Oli Scherer-3/+5
2022-12-06Cleanup macro-expanded code in `rustc_type_ir`Maybe Waffle-1/+1
2022-11-25Prefer not accessing the private field of newtype_index typesOli Scherer-1/+1
2022-09-27Manually order `DefId` on 64-bit big-endianJosh Stone-1/+19
2022-09-10rustc_error, rustc_private, rustc_ast: Switch to stable hash containersNiklas Jonsson-2/+7
2022-09-07rustc: Parameterize `ty::Visibility` over used IDVadim Petrochenkov-0/+6
2022-06-08Use delayed error handling for `Encodable` and `Encoder` infallible.Nicholas Nethercote-8/+8
2022-06-03Inline many methods of Encoderbjorn3-5/+2
2022-06-03Remove all names from Encoderbjorn3-3/+3
2022-05-07Remove closures on `expect_local` to apply `#[track_caller]`Yuki Okushi-1/+6
2022-05-06Add `track_caller` to `DefId::expect_local()`Yuki Okushi-0/+1
2022-04-17Stop using CRATE_DEF_INDEX.Camille GILLOT-2/+13
2022-03-08add `#[rustc_pass_by_value]` to more typeslcnr-2/+3
2022-02-20Delete Decoder::read_struct_fieldMark Rousskov-4/+1
2022-02-20Delete Decoder::read_structMark Rousskov-2/+2
2022-01-22Make `Decodable` and `Decoder` infallible.Nicholas Nethercote-11/+9
2022-01-12Rename environment variable for overriding rustc versionpierwill-2/+2