rust/compiler
bors 222d1ff68d Auto merge of #105603 - oli-obk:non_repeatable_queries, r=petrochenkov
Harden the pre-tyctxt query system against accidental recomputation

While the current compiler has no issues where we `take` and then compute the query again, in https://github.com/rust-lang/rust/pull/105462 I accidentally introduced such a case.

I also took the opportunity to remove `peek_mut`, which is only ever used for `global_tcx` to then invoke `enter`. I added an `enter` method directly on the query.
2023-01-12 13:59:30 +00:00
..
rustc
rustc_abi Auto merge of #105446 - erikdesjardins:vt-size, r=nikic 2022-12-18 22:01:39 +00:00
rustc_apfloat compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_arena compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_ast Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ast_lowering Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_ast_passes Allow impl ~const Trait opaque types 2022-12-15 11:26:15 +00:00
rustc_ast_pretty Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_attr Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_baked_icu_data
rustc_borrowck Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_builtin_macros Update format.rs 2023-01-02 15:51:54 +05:30
rustc_codegen_cranelift Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_codegen_gcc Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_codegen_llvm Rollup merge of #104543 - JhonnyBillM:migrate-codegen-ssa-to-diagnostics-structs-pt3, r=davidtwco 2023-01-07 20:43:19 +01:00
rustc_codegen_ssa Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_const_eval Rollup merge of #106648 - Nilstrieb:poly-cleanup, r=compiler-errors 2023-01-11 17:30:55 +01:00
rustc_data_structures Harden the pre-tyctxt query system against accidental recomputation 2023-01-12 09:26:28 +00:00
rustc_driver Auto merge of #105603 - oli-obk:non_repeatable_queries, r=petrochenkov 2023-01-12 13:59:30 +00:00
rustc_error_codes remove E0280 and ICE instead 2023-01-10 03:04:28 +01:00
rustc_error_messages Rollup merge of #106170 - compiler-errors:autoderef-to-analysis, r=lcnr 2023-01-11 22:25:48 -08:00
rustc_errors Rollup merge of #106427 - mejrs:translation_errors, r=davidtwco 2023-01-11 17:30:54 +01:00
rustc_expand Shrink ParseResult in the hot path. 2023-01-05 20:42:26 +01:00
rustc_feature Rollup merge of #106323 - starkat99:stabilize-f16c_target_feature, r=petrochenkov 2023-01-11 22:25:48 -08:00
rustc_fs_util
rustc_graphviz Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir fix typo LocalItemId -> ItemLocalId 2023-01-11 15:45:52 +03:00
rustc_hir_analysis Rollup merge of #106739 - WaffleLapkin:astconv, r=estebank 2023-01-11 22:25:50 -08:00
rustc_hir_pretty Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_hir_typeck Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_incremental rustc: Remove needless lifetimes 2022-12-20 22:10:40 +01:00
rustc_index Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_infer Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_interface Harden the pre-tyctxt query system against accidental recomputation 2023-01-12 09:26:28 +00:00
rustc_lexer Recover fn keyword as Fn trait in bounds 2022-12-27 06:14:46 +00:00
rustc_lint Auto merge of #105919 - uweigand:s390x-stack-overflow, r=Nilstrieb 2023-01-11 08:50:38 +00:00
rustc_lint_defs create helper function for rustc_lint_defs::Level and remove it's duplicated code r=ozkanonur 2023-01-10 10:56:17 +03:00
rustc_llvm rustc_llvm: replace llvm::makeArrayRef with ArrayRef constructors. 2023-01-11 11:25:15 -05:00
rustc_log Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_macros Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_metadata Use newtype for unused generic parameters 2023-01-09 19:10:00 +01:00
rustc_middle Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_mir_build Rollup merge of #106097 - mejrs:mir_build2, r=oli-obk 2023-01-11 22:25:47 -08:00
rustc_mir_dataflow Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_mir_transform Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_monomorphize Delete unused polymorphization code 2023-01-09 19:10:00 +01:00
rustc_parse Auto merge of #106537 - fmease:recover-where-clause-before-tuple-struct-body, r=estebank 2023-01-12 02:16:16 +00:00
rustc_parse_format Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_passes Rename Rptr to Ref in AST and HIR 2022-12-28 18:52:36 +01:00
rustc_plugin_impl
rustc_privacy Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_query_impl Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_query_system Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_resolve Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_save_analysis rename get_parent_node to parent_id 2023-01-04 00:43:13 +00:00
rustc_serialize compiler: remove unnecessary imports and qualified paths 2022-12-10 18:45:34 +01:00
rustc_session Rollup merge of #106709 - khuey:disable_split_dwarf_inlining_by_default, r=davidtwco 2023-01-11 17:30:56 +01:00
rustc_smir
rustc_span [RFC 2397] Initial implementation 2023-01-09 20:51:01 -03:00
rustc_symbol_mangling Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00
rustc_target Rollup merge of #106636 - djkoloski:accept_old_fuchsia_triple, r=tmandry 2023-01-10 08:05:35 +09:00
rustc_trait_selection Auto merge of #106760 - compiler-errors:rollup-0bogyco, r=compiler-errors 2023-01-12 10:46:19 +00:00
rustc_traits Rollup merge of #106204 - compiler-errors:no-take-opaques-in-compare, r=oli-obk 2023-01-10 08:05:34 +09:00
rustc_transmute Fix uninlined_format_args for some compiler crates 2023-01-05 19:01:12 +01:00
rustc_ty_utils Change src/test to tests in source files, fix tidy and tests 2023-01-11 09:32:13 +00:00
rustc_type_ir Add type flags support for Ty and Const late-bound regions 2023-01-08 03:37:20 +00:00