1
Fork 0
rust/compiler
Matthias Krüger a72d6c114b
Rollup merge of #120128 - oli-obk:smir_internal_lift, r=celinval
Make stable_mir::with_tables sound

See the first commit for the actual soundness fix. The rest is just fallout from that and is entirely safe code. Includes most of #120120

The major difference to #120120 is that we don't need an unsafe trait, as we can now rely on the type system (the only unsafe part, and the actual source of the unsoundness was in `with_tables`)

r? `@celinval`
2024-01-21 12:28:52 +01:00
..
rustc
rustc_abi Fix rustc_abi build on stable 2024-01-16 21:15:31 +01:00
rustc_arena Fix Stable trait and its impls to work with the new with_tables 2024-01-19 09:42:51 +00:00
rustc_ast Auto merge of #116672 - maurer:128-align, r=nikic 2024-01-20 00:56:53 +00:00
rustc_ast_lowering Auto merge of #120006 - cjgillot:no-hir-owner, r=wesleywiser 2024-01-19 02:36:13 +00:00
rustc_ast_passes Auto merge of #119088 - George-lewis:glewis/suggest-upgrading-compiler, r=Nilstrieb 2024-01-13 20:06:03 +00:00
rustc_ast_pretty Add PatKind::Err 2024-01-17 03:14:16 +01:00
rustc_attr Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
rustc_baked_icu_data
rustc_borrowck Auto merge of #120003 - Mark-Simulacrum:opt-promoted, r=davidtwco 2024-01-20 11:21:28 +00:00
rustc_builtin_macros Add check for ui_testing via promoting parameters from ParseSess to Session 2024-01-13 12:11:13 -05:00
rustc_codegen_cranelift Rollup merge of #119815 - nagisa:nagisa/polishes-libloading-use-somewhat, r=bjorn3 2024-01-19 19:27:00 +01:00
rustc_codegen_gcc Rename {create,emit}_warning as {create,emit}_warn. 2024-01-10 07:33:06 +11:00
rustc_codegen_llvm LLVM 18 x86 data layout update 2024-01-19 10:52:01 +01:00
rustc_codegen_ssa Auto merge of #119922 - nnethercote:fix-Diag-code-is_lint, r=oli-obk 2024-01-17 07:33:52 +00:00
rustc_const_eval Auto merge of #119821 - oli-obk:reveal_all_const_evals, r=lcnr 2024-01-20 04:57:51 +00:00
rustc_data_structures Auto merge of #116185 - Zoxc:rem-one-thread, r=cjgillot 2024-01-20 13:18:33 +00:00
rustc_driver
rustc_driver_impl Replace TrimmedDefPaths with a bool. 2024-01-15 09:16:14 +11:00
rustc_error_codes Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
rustc_error_messages
rustc_errors Rework how diagnostic lints are stored. 2024-01-14 14:04:25 +11:00
rustc_expand Auto merge of #120121 - matthiaskrgr:rollup-razammh, r=matthiaskrgr 2024-01-19 16:26:37 +00:00
rustc_feature Split remaining offset_of features into new tracking issues 2024-01-19 21:13:11 +00:00
rustc_fluent_macro annotate-snippets: update to 0.10 2024-01-07 16:53:32 +03:00
rustc_fs_util
rustc_graphviz
rustc_hir Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU 2024-01-21 00:33:43 +00:00
rustc_hir_analysis Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU 2024-01-21 00:33:43 +00:00
rustc_hir_pretty Add PatKind::Err 2024-01-17 03:14:16 +01:00
rustc_hir_typeck Auto merge of #120100 - oli-obk:astconv_lifetimes, r=BoxyUwU 2024-01-21 00:33:43 +00:00
rustc_incremental Get rid of the hir_owner query. 2024-01-16 23:49:38 +00:00
rustc_index Auto merge of #119499 - cjgillot:dtm-opt, r=nnethercote 2024-01-06 11:54:15 +00:00
rustc_index_macros Restrict access to the private field of newtype indexes 2024-01-19 15:38:47 +00:00
rustc_infer Rollup merge of #119613 - gavinleroy:expose-obligations, r=lcnr 2024-01-20 09:37:26 +01:00
rustc_interface Rollup merge of #119815 - nagisa:nagisa/polishes-libloading-use-somewhat, r=bjorn3 2024-01-19 19:27:00 +01:00
rustc_lexer Detect NulInCStr error earlier. 2024-01-12 16:19:37 +11:00
rustc_lint Rollup merge of #119967 - ShE3py:patkind-err, r=WaffleLapkin 2024-01-18 10:34:18 +01:00
rustc_lint_defs Rollup merge of #117556 - obeis:static-mut-ref-lint, r=davidtwco 2024-01-09 13:23:15 +01:00
rustc_llvm Revert "Auto merge of #113923 - DianQK:restore-no-builtins-lto, r=pnkfelix" 2024-01-12 18:23:04 +08:00
rustc_log
rustc_macros Rework how diagnostic lints are stored. 2024-01-14 14:04:25 +11:00
rustc_metadata Rollup merge of #119815 - nagisa:nagisa/polishes-libloading-use-somewhat, r=bjorn3 2024-01-19 19:27:00 +01:00
rustc_middle Rollup merge of #120128 - oli-obk:smir_internal_lift, r=celinval 2024-01-21 12:28:52 +01:00
rustc_mir_build Remove Ty: Copy bound 2024-01-20 15:22:14 +01:00
rustc_mir_dataflow Rollup merge of #115291 - cjgillot:dest-prop-save, r=JakobDegen 2024-01-17 20:21:19 +01:00
rustc_mir_transform Extract process_assign. 2024-01-18 22:53:07 +00:00
rustc_monomorphize Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-Simulacrum 2024-01-21 06:38:35 +01:00
rustc_next_trait_solver Remove movability from TyKind::Coroutine 2023-12-28 16:35:01 +00:00
rustc_parse Rollup merge of #120063 - clubby789:remove-box-handling, r=Nilstrieb 2024-01-20 20:06:34 +01:00
rustc_parse_format Removing redudant note from parse error 2024-01-08 19:41:01 +01:00
rustc_passes Rollup merge of #120107 - shepmaster:dead-code-repr-transparent, r=Nilstrieb 2024-01-19 08:15:05 +01:00
rustc_pattern_analysis Remove Ty: Copy bound 2024-01-20 15:22:14 +01:00
rustc_privacy Remove Session methods that duplicate DiagCtxt methods. 2023-12-24 08:05:28 +11:00
rustc_query_impl Update measureme crate to version 11 2024-01-13 16:32:03 +01:00
rustc_query_system Auto merge of #108359 - Zoxc:side-effects-tweak, r=cjgillot 2024-01-20 15:20:15 +00:00
rustc_resolve Don't delete any lifetimes with bounds 2024-01-20 02:30:58 +04:00
rustc_serialize Rollup merge of #117561 - tgross35:split-array, r=scottmcm 2024-01-19 19:26:59 +01:00
rustc_session Auto merge of #116185 - Zoxc:rem-one-thread, r=cjgillot 2024-01-20 13:18:33 +00:00
rustc_smir Use the new with_tables everywhere 2024-01-19 11:25:38 +00:00
rustc_span Stabilize simple offset_of 2024-01-19 20:38:51 +00:00
rustc_symbol_mangling Rename consuming chaining methods on DiagnosticBuilder. 2024-01-10 07:40:00 +11:00
rustc_target Update more data layouts 2024-01-19 11:09:30 +01:00
rustc_trait_selection Rollup merge of #119613 - gavinleroy:expose-obligations, r=lcnr 2024-01-20 09:37:26 +01:00
rustc_traits Correctly handle normalization in implied bounds 2024-01-17 21:27:34 -05:00
rustc_transmute Fix an ICE that occurs after an error has already been reported 2024-01-09 16:09:30 +00:00
rustc_ty_utils Rollup merge of #119969 - compiler-errors:simplify-closure-env-ty, r=oli-obk 2024-01-16 17:55:23 +01:00
rustc_type_ir Restrict access to the private field of newtype indexes 2024-01-19 15:38:47 +00:00
stable_mir Make the remaining "private" fields actually private 2024-01-19 16:37:50 +00:00