rust/compiler
nils 925fbcdf8a
Rollup merge of #109408 - RalfJung:retags, r=compiler-errors
not *all* retags might be explicit in Runtime MIR

In https://github.com/rust-lang/rust/pull/105317 I made Miri treat `Rvalue::Ref/AddrOf` as implicit retagging sites. This updates the MIR docs accordingly.

For `Rvalue::Ref` I think this makes a lot more sense: creating a new reference is their entire point, so we can avoid bloating the MIR with retags. Also this seems to be the best way to handle cases like `*ptr = &[mut] ...`, where doing a retag is somewhat questionable since maybe `*ptr` points to another place now?

For `Rvalue::AddrOf`, Stacked Borrows needs this because even raw ptrs need some retagging, but Tree Borrows doesn't do ant retagging here and I hope we'll end up with a model where raw pointers don't get retagged.
2023-03-21 13:00:25 +01:00
..
rustc
rustc_abi
rustc_apfloat
rustc_arena
rustc_ast Rollup merge of #108958 - clubby789:unbox-the-hir, r=compiler-errors 2023-03-17 08:42:37 +01:00
rustc_ast_lowering Gate fmt args flattening behind -Zflatten-format-args. 2023-03-16 11:21:50 +01:00
rustc_ast_passes
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #109215 - est31:sort_by_key, r=Nilstrieb 2023-03-17 08:42:40 +01:00
rustc_builtin_macros Rollup merge of #109301 - Ezrashaw:fix-ctf-ice, r=Nilstrieb 2023-03-20 07:10:31 +01:00
rustc_codegen_cranelift Tweak implementation of overflow checking assertions 2023-03-16 22:55:45 +01:00
rustc_codegen_gcc
rustc_codegen_llvm
rustc_codegen_ssa Rollup merge of #109307 - cjgillot:inline-location, r=compiler-errors 2023-03-20 09:46:54 +01:00
rustc_const_eval Rollup merge of #109307 - cjgillot:inline-location, r=compiler-errors 2023-03-20 09:46:54 +01:00
rustc_data_structures migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_driver
rustc_driver_impl migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_error_codes Rollup merge of #107416 - czzrr:issue-80618, r=GuillaumeGomez 2023-03-18 12:04:21 +01:00
rustc_error_messages
rustc_errors migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_expand Suggest surrounding the macro with {} to interpret as a statement 2023-03-17 14:36:22 +08:00
rustc_feature
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #108958 - clubby789:unbox-the-hir, r=compiler-errors 2023-03-17 08:42:37 +01:00
rustc_hir_analysis Rollup merge of #109385 - lcnr:typo, r=Dylan-DPC 2023-03-21 13:00:24 +01:00
rustc_hir_pretty
rustc_hir_typeck Rollup merge of #109212 - Ezrashaw:no-similar-sugg-for-unstable, r=estebank 2023-03-19 15:33:58 +05:30
rustc_incremental
rustc_index
rustc_infer Rollup merge of #105793 - lukas-code:circular-deps, r=Mark-Simulacrum 2023-03-19 15:33:55 +05:30
rustc_interface Gate fmt args flattening behind -Zflatten-format-args. 2023-03-16 11:21:50 +01:00
rustc_lexer
rustc_lint remove bad comment 2023-03-20 00:55:36 +01:00
rustc_lint_defs
rustc_llvm
rustc_log
rustc_macros
rustc_metadata Rollup merge of #109362 - nnethercote:split-meta-stats-items, r=bjorn3 2023-03-20 07:10:34 +01:00
rustc_middle Rollup merge of #109408 - RalfJung:retags, r=compiler-errors 2023-03-21 13:00:25 +01:00
rustc_mir_build Use builtin_index instead of match 2023-03-20 16:27:44 +01:00
rustc_mir_dataflow
rustc_mir_transform Auto merge of #108944 - cjgillot:clear-local-info, r=oli-obk 2023-03-16 19:59:56 +00:00
rustc_monomorphize
rustc_parse
rustc_parse_format
rustc_passes Rollup merge of #108958 - clubby789:unbox-the-hir, r=compiler-errors 2023-03-17 08:42:37 +01:00
rustc_plugin_impl
rustc_privacy
rustc_query_impl
rustc_query_system Auto merge of #109046 - Zoxc:split-execute-job, r=cjgillot,michaelwoerister 2023-03-20 23:53:09 +00:00
rustc_resolve Rollup merge of #109257 - petrochenkov:bindebug, r=WaffleLapkin 2023-03-18 00:05:55 +01:00
rustc_serialize
rustc_session migrate compiler, bootstrap, and compiletest to windows-rs 2023-03-20 13:19:35 -04:00
rustc_smir
rustc_span Rollup merge of #109307 - cjgillot:inline-location, r=compiler-errors 2023-03-20 09:46:54 +01:00
rustc_symbol_mangling
rustc_target
rustc_trait_selection Rollup merge of #108896 - BoxyUwU:new_solver_add_goal_fn, r=lcnr 2023-03-21 13:00:22 +01:00
rustc_traits
rustc_transmute
rustc_ty_utils Rollup merge of #109240 - compiler-errors:dont-binder-twice, r=oli-obk 2023-03-21 13:00:23 +01:00
rustc_type_ir