rust/compiler
bors e21f4cd98f Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser
Avoid specialization in the metadata serialization code

With the exception of a perf-only specialization for byte slices and byte vectors.

This uses the same trick of introducing a new trait and having the Encodable and Decodable derives add a bound to it as used for TyEncoder/TyDecoder. The new code is clearer about which encoder/decoder uses which impl and it reduces the dependency of rustc on specialization, making it easier to remove support for specialization entirely or turn it into a construct that is only allowed for perf optimizations if we decide to do this.
2024-01-06 09:56:00 +00:00
..
rustc
rustc_abi
rustc_arena
rustc_ast Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_ast_lowering Remove hir::Guard 2024-01-05 10:56:59 +00:00
rustc_ast_passes Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errors 2024-01-05 20:39:51 +01:00
rustc_ast_pretty
rustc_attr
rustc_baked_icu_data
rustc_borrowck Rollup merge of #119563 - compiler-errors:coroutine-resume, r=oli-obk 2024-01-05 20:39:53 +01:00
rustc_builtin_macros Remove is_lint field from Level::Error. 2024-01-04 16:09:31 +11:00
rustc_codegen_cranelift
rustc_codegen_gcc Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errors 2024-01-05 10:57:21 -05:00
rustc_codegen_llvm Auto merge of #119621 - compiler-errors:rollup-5mxtvuk, r=compiler-errors 2024-01-05 16:31:05 +00:00
rustc_codegen_ssa Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillot 2024-01-05 19:38:27 +00:00
rustc_const_eval Rollup merge of #119577 - tmiasko:lint, r=oli-obk 2024-01-05 10:57:22 -05:00
rustc_data_structures Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_driver
rustc_driver_impl Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk 2024-01-05 10:57:24 -05:00
rustc_error_codes Rollup merge of #119505 - fmease:no-host-param-for-trait-fns, r=fee1-dead 2024-01-03 16:08:30 +01:00
rustc_error_messages
rustc_errors Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk 2024-01-05 10:57:24 -05:00
rustc_expand Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk 2024-01-05 10:57:24 -05:00
rustc_feature Rollup merge of #119354 - fmease:negative_bounds-fixes, r=compiler-errors 2024-01-05 20:39:51 +01:00
rustc_fluent_macro
rustc_fs_util
rustc_graphviz
rustc_hir Remove hir::Guard 2024-01-05 10:56:59 +00:00
rustc_hir_analysis Rollup merge of #119420 - cjgillot:issue-119295, r=compiler-errors 2024-01-05 23:41:42 -05:00
rustc_hir_pretty Remove hir::Guard 2024-01-05 10:56:59 +00:00
rustc_hir_typeck Auto merge of #119634 - matthiaskrgr:rollup-v2xt7et, r=matthiaskrgr 2024-01-05 21:42:26 +00:00
rustc_incremental Split StableCompare trait out of StableOrd trait. 2024-01-04 13:32:42 +01:00
rustc_index
rustc_index_macros
rustc_infer Rollup merge of #119506 - compiler-errors:visibilities-for-object-safety-error, r=Nilstrieb 2024-01-05 20:39:52 +01:00
rustc_interface Rollup merge of #119567 - nnethercote:rm-Zreport-delayed-bugs, r=oli-obk 2024-01-05 10:57:22 -05:00
rustc_lexer
rustc_lint Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillot 2024-01-05 19:38:27 +00:00
rustc_lint_defs Auto merge of #119192 - michaelwoerister:mcp533-push, r=cjgillot 2024-01-05 19:38:27 +00:00
rustc_llvm
rustc_log
rustc_macros Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_metadata Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_middle Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_mir_build Auto merge of #119329 - Nadrieril:reveal-opaques-early, r=compiler-errors 2024-01-06 02:00:24 +00:00
rustc_mir_dataflow
rustc_mir_transform Auto merge of #119648 - compiler-errors:rollup-42inxd8, r=compiler-errors 2024-01-06 06:00:27 +00:00
rustc_monomorphize Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errors 2024-01-05 10:57:21 -05:00
rustc_next_trait_solver
rustc_parse Rollup merge of #119538 - nnethercote:cleanup-errors-5, r=compiler-errors 2024-01-05 10:57:21 -05:00
rustc_parse_format
rustc_passes Auto merge of #119634 - matthiaskrgr:rollup-v2xt7et, r=matthiaskrgr 2024-01-05 21:42:26 +00:00
rustc_pattern_analysis Auto merge of #119329 - Nadrieril:reveal-opaques-early, r=compiler-errors 2024-01-06 02:00:24 +00:00
rustc_privacy
rustc_query_impl
rustc_query_system Rollup merge of #119086 - RossSmyth:query_panics, r=compiler-errors 2024-01-03 16:08:23 +01:00
rustc_resolve Rollup merge of #119638 - lukas-code:suggest-constructor-cycle-error, r=cjgillot 2024-01-05 23:41:43 -05:00
rustc_serialize
rustc_session Rollup merge of #119601 - nnethercote:Emitter-cleanups, r=oli-obk 2024-01-05 10:57:24 -05:00
rustc_smir
rustc_span Auto merge of #119478 - bjorn3:no_serialize_specialization, r=wesleywiser 2024-01-06 09:56:00 +00:00
rustc_symbol_mangling
rustc_target Auto merge of #119569 - matthiaskrgr:rollup-4packja, r=matthiaskrgr 2024-01-04 21:44:14 +00:00
rustc_trait_selection Rollup merge of #119216 - weiznich:use_diagnostic_namespace_in_stdlib, r=compiler-errors 2024-01-05 23:41:41 -05:00
rustc_traits
rustc_transmute
rustc_ty_utils
rustc_type_ir
stable_mir