summary refs log tree commit diff
path: root/compiler/rustc_metadata/src/rmeta/encoder.rs
AgeCommit message (Expand)AuthorLines
2024-03-14hir: Remove `opt_local_def_id_to_hir_id` and `opt_hir_node_by_def_id`Vadim Petrochenkov-2/+2
2024-03-12Ensure nested allocations in statics do not get deduplicatedOli Scherer-3/+6
2024-03-12Change `DefKind::Static` to a struct variantOli Scherer-12/+12
2024-03-07Apply `EarlyBinder` only to `TraitRef` in `ImplTraitHeader`Yoshitomo Nakanishi-2/+1
2024-03-06Auto merge of #119455 - Mark-Simulacrum:relative-spans, r=cjgillotbors-4/+16
2024-03-05Auto merge of #120675 - oli-obk:intrinsics3.0, r=pnkfelixbors-4/+7
2024-03-05Rename all `ParseSess` variables/fields/lifetimes as `psess`.Nicholas Nethercote-1/+1
2024-03-04make `intrinsic` query legal for any `DefId`Oli Scherer-8/+6
2024-03-04Add a scheme for moving away from `extern "rust-intrinsic"` entirelyOli Scherer-2/+7
2024-02-16Auto merge of #120500 - oli-obk:intrinsics2.0, r=WaffleLapkinbors-1/+3
2024-02-16Auto merge of #120486 - reitermarkus:use-generic-nonzero, r=dtolnaybors-4/+4
2024-02-15Return ConstAllocation from eval_static_initializer query directlyOli Scherer-2/+2
2024-02-15Store static initializers in metadata instead of the MIR of statics.Oli Scherer-5/+9
2024-02-15Replace `NonZero::<_>::new` with `NonZero::new`.Markus Reiter-3/+3
2024-02-15Use generic `NonZero` internally.Markus Reiter-4/+4
2024-02-12Remove impl_polarity queryOli Scherer-1/+0
2024-02-12Implement intrinsics with fallback bodiesOli Scherer-1/+3
2024-02-12Use a struct instead of a tupleOli Scherer-1/+1
2024-02-12Make impl_trait_ref into a query also returning more information about the implOli Scherer-2/+3
2024-02-12Make `is_intrinsic` query return the intrinsic nameOli Scherer-1/+1
2024-02-10Encode coroutine_for_closure for foreign cratesMichael Goulet-0/+7
2024-02-07hir: Make sure all `HirId`s have corresponding HIR `Node`sVadim Petrochenkov-8/+2
2024-02-05rustc_metadata: fix typoklensy-2/+2
2024-01-23Remove track_errors entirelyOli Scherer-1/+1
2024-01-17Make crate_inherent_impls fallible and stop using `track_errors` for itOli Scherer-2/+2
2024-01-06Embed length of offset/position into Span tag byteMark Rousskov-4/+16
2024-01-06Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiserbors-59/+54
2024-01-04Make iteration order of crate_inherent_impls query result stable.Michael Woerister-9/+3
2024-01-04Replace a number of FxHashMaps/Sets with stable-iteration-order alternatives.Michael Woerister-2/+3
2024-01-03Rollup merge of #119510 - saethlin:fatal-io-errors, r=WaffleLapkin,NilstriebLeón Orell Valerian Liehr-2/+2
2024-01-02Report I/O errors with emit_fatal not emit_errBen Kimock-2/+2
2023-12-31Remove almost all uses of specialization from the metadata encoding codebjorn3-49/+44
2023-12-31Avoid specialization for the Span Encodable and Decodable implsbjorn3-11/+11
2023-12-29Shrink span encoding furtherMark Rousskov-15/+29
2023-12-28Movability doesn't need to be a query anymoreMichael Goulet-2/+1
2023-12-28Remove movability from TyKind::CoroutineMichael Goulet-0/+1
2023-12-27Auto merge of #119302 - Mark-Simulacrum:relative-spans, r=WaffleLapkinbors-1/+13
2023-12-27Support relative offsets when encoding spansMark Rousskov-1/+13
2023-12-26Auto merge of #119146 - nnethercote:rm-DiagCtxt-api-duplication, r=compiler-e...bors-3/+3
2023-12-24Auto merge of #119139 - michaelwoerister:cleanup-stable-source-file-id, r=cjg...bors-21/+23
2023-12-24Auto merge of #119238 - Mark-Simulacrum:def-hash-efficiency, r=cjgillotbors-2/+2
2023-12-24Remove `Session` methods that duplicate `DiagCtxt` methods.Nicholas Nethercote-3/+3
2023-12-23Specialize DefPathHash table to skip crate IDsMark Rousskov-2/+2
2023-12-23Auto merge of #119225 - Mark-Simulacrum:remove-option, r=compiler-errorsbors-1/+1
2023-12-22Avoid redundant Option for cross_crate_inlinableMark Rousskov-1/+1
2023-12-21Encode CoroutineKind directlyMichael Goulet-2/+2
2023-12-19Unify SourceFile::name_hash and StableSourceFileIdMichael Woerister-21/+23
2023-12-12Move some methods from `tcx.hir()` to `tcx`zetanumbers-3/+3
2023-12-11Auto merge of #118344 - saethlin:rmeta-header-pos, r=WaffleLapkinbors-2/+2
2023-12-10remove redundant importssurechen-22/+8