rust/compiler/rustc_hir/src
bors 867d39cdf6 Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU
Don't forget that the lifetime on hir types is `'tcx`

This PR just tracks the `'tcx` lifetime to wherever the original objects actually have that lifetime. This code is needed for https://github.com/rust-lang/rust/pull/107606 (now #120131) so that `ast_ty_to_ty` can invoke `lit_to_const` on an argument passed to it. Currently the argument is `&hir::Ty<'_>`, but after this PR it is `&'tcx hir::Ty<'tcx>`.
2024-01-21 00:33:43 +00:00
..
arena.rs Remove unused arena kinds in rustc_hir and rustc_middle. 2023-11-20 15:05:26 +11:00
def.rs Give VariantData::Struct named fields, to clairfy recovered. 2023-12-20 00:07:34 +00:00
def_path_hash_map.rs Do not store stable crate id in on-disk hash map. 2023-12-24 17:22:48 +00:00
definitions.rs Do not store stable crate id in on-disk hash map. 2023-12-24 17:22:48 +00:00
diagnostic_items.rs Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostly in rustc_hir and rustc_ast_lowering) 2023-12-18 21:03:32 +01:00
hir.rs Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU 2024-01-21 00:33:43 +00:00
hir_id.rs Replace no_ord_impl with orderable. 2023-11-22 18:38:17 +11:00
intravisit.rs Add PatKind::Err 2024-01-17 03:14:16 +01:00
lang_items.rs Fix ICE when suggesting dereferencing binop operands 2024-01-12 17:49:37 -08:00
lib.rs Remove unused feature. 2023-11-20 16:20:45 +11:00
pat_util.rs Replace some instances of FxHashMap/FxHashSet with stable alternatives (mostly in rustc_hir and rustc_ast_lowering) 2023-12-18 21:03:32 +01:00
stable_hash_impls.rs Simplify BodyId hashing. 2024-01-16 23:52:30 +00:00
target.rs Fix enforcement of generics for associated items 2023-12-15 16:17:28 +00:00
tests.rs Replace two create_default_session_if_not_set_then uses. 2023-11-02 19:35:04 +11:00
weak_lang_items.rs Rewrite implementation of #[alloc_error_handler] 2022-10-31 16:32:57 +00:00