rust/compiler
bors cb580ff677 Auto merge of #122243 - RalfJung:local-place-sanity-check, r=oli-obk
interpret: ensure that Place is never used for a different frame

We store the address where the stack frame stores its `locals`. The idea is that even if we pop and push, or switch to a different thread with a larger number of frames, then the `locals` address will most likely change so we'll notice that problem. This is made possible by some recent changes by `@WaffleLapkin,` where we no longer use `Place` across things that change the number of stack frames.

I made these debug assertions for now, just to make sure this can't cost us any perf.

The first commit is unrelated but it's a one-line comment change so it didn't warrant a separate PR...

r? `@oli-obk`
2024-03-14 07:28:07 +00:00
..
rustc
rustc_abi Auto merge of #121668 - erikdesjardins:commonprim, r=scottmcm,oli-obk 2024-03-13 15:25:35 +00:00
rustc_arena
rustc_ast Rollup merge of #119365 - nbdd0121:asm-goto, r=Amanieu 2024-03-08 08:19:17 +01:00
rustc_ast_ir Fix typo in VisitorResult 2024-03-08 23:20:29 -05:00
rustc_ast_lowering Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
rustc_ast_passes Rename AddToDiagnostic as Subdiagnostic. 2024-03-11 10:04:49 +11:00
rustc_ast_pretty Rollup merge of #121584 - klensy:itertools-up, r=Mark-Simulacrum 2024-03-09 21:40:08 +01:00
rustc_attr Rename IntoDiagnostic as Diagnostic. 2024-03-11 09:15:09 +11:00
rustc_baked_icu_data
rustc_borrowck Eliminate DefiningAnchor::Error, it is indistinguishable from DefiningAnchor::Bind with an empty list 2024-03-11 17:19:37 +00:00
rustc_builtin_macros delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
rustc_codegen_cranelift Rollup merge of #121840 - oli-obk:freeze, r=dtolnay 2024-03-11 03:47:19 -04:00
rustc_codegen_gcc Some comment nits 2024-03-12 08:51:20 +00:00
rustc_codegen_llvm Rollup merge of #122226 - Zalathar:zcoverage-options, r=nnethercote 2024-03-13 06:41:22 +01:00
rustc_codegen_ssa Auto merge of #121421 - saethlin:smarter-mono, r=oli-obk 2024-03-13 05:07:26 +00:00
rustc_const_eval Auto merge of #122243 - RalfJung:local-place-sanity-check, r=oli-obk 2024-03-14 07:28:07 +00:00
rustc_data_structures
rustc_driver
rustc_driver_impl Auto merge of #122347 - oli-obk:track_errors13, r=compiler-errors 2024-03-14 02:54:10 +00:00
rustc_error_codes Improve error message for opaque captures 2024-03-08 19:08:13 +00:00
rustc_error_messages
rustc_errors Rollup merge of #122194 - oli-obk:stash_delay_bug, r=nnethercote 2024-03-12 06:29:03 +01:00
rustc_expand delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
rustc_feature Rollup merge of #121840 - oli-obk:freeze, r=dtolnay 2024-03-11 03:47:19 -04:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #122430 - GuillaumeGomez:link-to-local, r=TaKO8Ki 2024-03-13 20:01:56 +01:00
rustc_hir_analysis Auto merge of #122454 - matthiaskrgr:rollup-xbmufdc, r=matthiaskrgr 2024-03-14 04:54:37 +00:00
rustc_hir_pretty
rustc_hir_typeck Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
rustc_incremental
rustc_index doc: Add better explanation 2024-03-06 16:54:42 +01:00
rustc_index_macros
rustc_infer Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
rustc_interface Auto merge of #122347 - oli-obk:track_errors13, r=compiler-errors 2024-03-14 02:54:10 +00:00
rustc_lexer
rustc_lint Allow multiple impl Into<{D,Subd}iagMessage> parameters in a function. 2024-03-11 16:42:10 +11:00
rustc_lint_defs Add produces as tidy requires 2024-03-13 10:32:42 -04:00
rustc_llvm llvm-wrapper: adapt for LLVM API changes 2024-03-12 12:39:25 +00:00
rustc_log
rustc_macros Rename diagnostic derive things. 2024-03-11 10:06:34 +11:00
rustc_metadata s/mt/mutability/ 2024-03-12 05:53:46 +00:00
rustc_middle Avoid lowering code under dead SwitchInt targets 2024-03-12 19:01:04 -04:00
rustc_mir_build Rename RustcMatchCheckCtxt -> RustcPatCtxt 2024-03-13 14:07:44 +01:00
rustc_mir_dataflow Distinguish between library and lang UB in assert_unsafe_precondition 2024-03-08 18:53:58 -05:00
rustc_mir_transform Auto merge of #122243 - RalfJung:local-place-sanity-check, r=oli-obk 2024-03-14 07:28:07 +00:00
rustc_monomorphize Rollup merge of #122226 - Zalathar:zcoverage-options, r=nnethercote 2024-03-13 06:41:22 +01:00
rustc_next_trait_solver
rustc_parse Fix ICE in diagnostics for parenthesized type arguments 2024-03-12 21:32:21 +01:00
rustc_parse_format
rustc_passes Ensure nested allocations in statics do not get deduplicated 2024-03-12 05:53:46 +00:00
rustc_pattern_analysis Rollup merge of #122437 - Nadrieril:no-after-max, r=compiler-errors 2024-03-13 20:01:57 +01:00
rustc_privacy Change DefKind::Static to a struct variant 2024-03-12 05:53:46 +00:00
rustc_query_impl Verify that query keys result in unique dep nodes 2024-03-12 05:31:41 +01:00
rustc_query_system Rollup merge of #122245 - saethlin:check-dep-graph-size, r=petrochenkov 2024-03-12 09:04:00 -07:00
rustc_resolve delay expand macro bang when there has indeterminate path 2024-03-13 16:11:16 +08:00
rustc_serialize
rustc_session extend docs of -Zprint-mono-items 2024-03-13 16:11:48 +01:00
rustc_smir Rollup merge of #122203 - adpaco-aws:smir-intrinsic-name, r=celinval 2024-03-13 06:41:21 +01:00
rustc_span Ensure nested allocations in statics do not get deduplicated 2024-03-12 05:53:46 +00:00
rustc_symbol_mangling Rename IntoDiagnostic as Diagnostic. 2024-03-11 09:15:09 +11:00
rustc_target fix: typos 2024-03-13 13:57:23 +08:00
rustc_trait_selection Rollup merge of #122438 - jswrenn:check-referent-size, r=compiler-errors 2024-03-13 20:01:58 +01:00
rustc_traits Merge check_mod_impl_wf and check_mod_type_wf 2024-03-07 06:27:09 +00:00
rustc_transmute safe transmute: require that src referent is smaller than dst 2024-03-13 15:53:48 +00:00
rustc_ty_utils Rollup merge of #122366 - oli-obk:opaques_defined_by_overflow, r=lcnr 2024-03-12 09:04:02 -07:00
rustc_type_ir Remove Ord from ClosureKind 2024-03-09 21:16:43 +08:00
stable_mir Rollup merge of #122426 - celinval:smir-fix-full, r=oli-obk 2024-03-13 20:01:55 +01:00