rust/compiler
bors b22856d192 Auto merge of #134326 - scottmcm:slice-drop-shim-ptrmetadata, r=saethlin
Use `PtrMetadata` instead of `Len` in slice drop shims

I tried to do a bigger change in #134297 which didn't work, so here's the part I really wanted: Removing another use of `Len`, in favour of `PtrMetadata`.

Split into two commits where the first just adds a test, so you can look at the second commit to see how the drop shim for an array changes with this PR.

Reusing the same reviewer from the last one:
r? BoxyUwU
2024-12-22 13:28:12 +00:00
..
rustc switch jemalloc-sys back to tikv-jemalloc-sys, and update to 0.6.0 2024-12-03 08:56:33 +00:00
rustc_abi make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
rustc_arena
rustc_ast Change comparison operators to have Fixity::None 2024-12-20 20:12:22 -08:00
rustc_ast_ir
rustc_ast_lowering Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_ast_passes Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_ast_pretty Support pretty-printing dyn* trait objects 2024-12-20 21:31:21 -08:00
rustc_attr_data_structures rename rustc_attr to rustc_attr_parsing and create rustc_attr_data_structures 2024-12-16 19:08:19 +01:00
rustc_attr_parsing Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_baked_icu_data Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
rustc_borrowck Auto merge of #134268 - lqd:polonius-next, r=jackh726 2024-12-21 21:15:31 +00:00
rustc_builtin_macros Use E0665 for missing #[default] error 2024-12-21 19:14:58 +00:00
rustc_codegen_cranelift Make DependencyList an IndexVec 2024-12-19 15:30:32 +00:00
rustc_codegen_gcc chore: fix some typos 2024-12-18 23:23:44 +08:00
rustc_codegen_llvm Remove some dead code around import library generation 2024-12-20 15:20:15 +00:00
rustc_codegen_ssa Auto merge of #134505 - jieyouxu:boop-compiler-cc, r=clubby789,jieyouxu 2024-12-21 17:58:54 +00:00
rustc_const_eval Auto merge of #134550 - jhpratt:rollup-wsfmo59, r=jhpratt 2024-12-20 07:27:15 +00:00
rustc_data_structures Remove jobserver from Session 2024-12-13 10:21:22 +00:00
rustc_driver
rustc_driver_impl Reduce the amount of explicit FatalError.raise() 2024-12-20 14:09:25 +00:00
rustc_error_codes Use E0665 for missing #[default] error 2024-12-21 19:14:58 +00:00
rustc_error_messages Delete the cfg(not(parallel)) serial compiler 2024-11-12 13:38:58 +00:00
rustc_errors Rollup merge of #134366 - harrisonkaiser:no-break-space, r=davidtwco 2024-12-20 21:46:59 +08:00
rustc_expand Speed up Parser::expected_token_types. 2024-12-19 16:05:41 +11:00
rustc_feature split up #[rustc_deny_explicit_impl] attribute 2024-12-20 16:57:14 +01:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Rollup merge of #133782 - dtolnay:closuresjumps, r=spastorino,traviscross 2024-12-21 01:30:15 +01:00
rustc_hir_analysis Explain why a type is not eligible for impl PointerLike. 2024-12-20 20:49:09 -08:00
rustc_hir_pretty Support pretty-printing dyn* trait objects 2024-12-20 21:31:21 -08:00
rustc_hir_typeck Don't ICE on illegal dyn* casts 2024-12-21 23:43:52 +00:00
rustc_incremental Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_index Rollup merge of #134526 - onur-ozkan:nightly-feat-rustc, r=jieyouxu 2024-12-21 22:16:03 +01:00
rustc_index_macros update rustc_index_macros feature handling 2024-12-19 20:32:12 +03:00
rustc_infer remove non-borrowck member constraints 2024-12-20 10:04:01 +01:00
rustc_interface Rollup merge of #134514 - bjorn3:more_driver_refactors, r=jieyouxu 2024-12-20 21:47:00 +08:00
rustc_lexer Add test to check unicode identifier version 2024-12-09 06:23:59 -08:00
rustc_lint Rollup merge of #134586 - Urgau:fn-ptr-lint-option, r=compiler-errors 2024-12-21 01:30:18 +01:00
rustc_lint_defs Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_llvm Auto merge of #134505 - jieyouxu:boop-compiler-cc, r=clubby789,jieyouxu 2024-12-21 17:58:54 +00:00
rustc_log
rustc_macros Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_metadata Review comments 2024-12-20 08:35:02 +00:00
rustc_middle Rollup merge of #134618 - RalfJung:coroutine-clone-comments, r=lqd 2024-12-22 03:49:44 +01:00
rustc_mir_build Handle DropKind::ForLint in coroutines correctly 2024-12-20 18:18:06 +00:00
rustc_mir_dataflow Auto merge of #134326 - scottmcm:slice-drop-shim-ptrmetadata, r=saethlin 2024-12-22 13:28:12 +00:00
rustc_mir_transform coverage: Rename basic_coverage_blocks to just graph 2024-12-20 17:48:59 +11:00
rustc_monomorphize Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_next_trait_solver update new solver candidate assembly 2024-12-18 16:35:05 +01:00
rustc_parse Rollup merge of #134600 - dtolnay:chainedcomparison, r=oli-obk 2024-12-21 01:18:43 -05:00
rustc_parse_format
rustc_passes Rollup merge of #134539 - estebank:restrict-non_exhaustive, r=jieyouxu 2024-12-21 01:30:17 +01:00
rustc_pattern_analysis no more Reveal :( 2024-11-23 13:52:54 +01:00
rustc_privacy Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_query_impl Rename ty_def_id so people will stop using it by accident 2024-12-13 16:36:38 +00:00
rustc_query_system Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_resolve Rollup merge of #134473 - acceptacross:master, r=compiler-errors 2024-12-18 21:38:10 -05:00
rustc_sanitizers Remove more traces of anonymous ADTs 2024-12-10 19:50:47 +00:00
rustc_serialize
rustc_session Rollup merge of #134561 - bjorn3:less_fatal_error_raise, r=compiler-errors 2024-12-20 21:32:30 +01:00
rustc_smir make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
rustc_span split up #[rustc_deny_explicit_impl] attribute 2024-12-20 16:57:14 +01:00
rustc_symbol_mangling Re-export more rustc_span::symbol things from rustc_span. 2024-12-18 13:38:53 +11:00
rustc_target make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
rustc_trait_selection Rollup merge of #134639 - compiler-errors:negative-ambiguity-causes, r=oli-obk 2024-12-22 09:12:14 +01:00
rustc_traits Delay a bug when encountering an impl with unconstrained generics in codegen_select 2024-11-23 05:27:45 +00:00
rustc_transmute add comment explaining why ty_and_layout_field is not used 2024-12-18 11:01:54 +01:00
rustc_ty_utils make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00
rustc_type_ir Rollup merge of #133643 - lcnr:merge-candidates, r=compiler-errors 2024-12-18 21:38:08 -05:00
rustc_type_ir_macros
stable_mir make no-variant types a dedicated Variants variant 2024-12-18 11:01:54 +01:00