rust/compiler
bors 56cd04af5c Auto merge of #93511 - cjgillot:query-copy, r=oli-obk
Ensure that queries only return Copy types.

This should pervent the perf footgun of returning a result with an expensive `Clone` impl (like a `Vec` of a hash map).

I went for the stupid solution of allocating on an arena everything that was not `Copy`. Some query results could be made Copy easily, but I did not really investigate.
2022-02-10 09:37:07 +00:00
..
rustc remove unused jemallocator crate 2022-01-28 16:56:05 +01:00
rustc_apfloat Stabilize iter::zip. 2021-12-14 18:50:31 -04:00
rustc_arena Remove unused dep from rustc_arena 2022-02-02 17:37:14 +01:00
rustc_ast Add test for block doc comments horizontal trim 2022-02-07 17:07:53 +01:00
rustc_ast_lowering Rollup merge of #93746 - cjgillot:nodefii, r=nikomatsakis 2022-02-09 14:12:22 +09:00
rustc_ast_passes Auto merge of #93561 - Amanieu:more-unwind-abi, r=nagisa 2022-02-08 03:20:05 +00:00
rustc_ast_pretty Change struct expr pretty printing to match rustfmt style 2022-02-03 10:59:35 -08:00
rustc_attr Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
rustc_borrowck Improve opaque type higher-ranked region error message under NLL 2022-02-08 12:35:42 -05:00
rustc_builtin_macros Rollup merge of #91950 - estebank:point-at-type-of-non-allocator, r=matthewjasper 2022-02-08 16:40:45 +01:00
rustc_codegen_cranelift Make FnAbiError Copy. 2022-02-09 20:11:29 +01:00
rustc_codegen_gcc Make FnAbiError Copy. 2022-02-09 20:11:29 +01:00
rustc_codegen_llvm Rollup merge of #93503 - michaelwoerister:fix-vtable-holder-debuginfo-regression, r=wesleywiser 2022-02-09 23:29:56 +01:00
rustc_codegen_ssa Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
rustc_const_eval Make FnAbiError Copy. 2022-02-09 20:11:29 +01:00
rustc_data_structures Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis 2022-02-07 23:40:26 +00:00
rustc_driver Store rlink data in opaque binary format on disk 2022-02-05 15:17:54 -05:00
rustc_error_codes Rollup merge of #91939 - GKFX:feature-91866, r=cjgillot 2022-02-06 04:13:29 +01:00
rustc_errors add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
rustc_expand add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
rustc_feature Rollup merge of #93753 - jeremyBanks:main-conflict, r=petrochenkov 2022-02-09 23:29:57 +01:00
rustc_fs_util Migrate to 2021 2021-09-20 22:21:42 -04:00
rustc_graphviz eplace usages of vec![].into_iter with [].into_iter 2022-01-09 14:09:25 +11:00
rustc_hir Rollup merge of #93746 - cjgillot:nodefii, r=nikomatsakis 2022-02-09 14:12:22 +09:00
rustc_hir_pretty Rollup merge of #93746 - cjgillot:nodefii, r=nikomatsakis 2022-02-09 14:12:22 +09:00
rustc_incremental add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
rustc_index implement lint for suspicious auto trait impls 2022-02-01 09:55:19 +01:00
rustc_infer Auto merge of #92306 - Aaron1011:opaque-type-op, r=oli-obk 2022-02-09 09:41:48 +00:00
rustc_interface Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
rustc_lexer Auto merge of #91393 - Julian-Wollersberger:lexer_optimization, r=petrochenkov 2021-12-03 13:20:14 +00:00
rustc_lint Auto merge of #92007 - oli-obk:lazy_tait2, r=nikomatsakis 2022-02-07 23:40:26 +00:00
rustc_lint_defs implement lint for suspicious auto trait impls 2022-02-01 09:55:19 +01:00
rustc_llvm Windows: Disable LLVM crash dialog boxes. 2022-01-27 16:53:17 -08:00
rustc_log Make rustc_log doc test runnable 2022-01-03 22:31:56 -08:00
rustc_macros Make Decodable and Decoder infallible. 2022-01-22 10:38:31 +11:00
rustc_metadata Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
rustc_middle Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
rustc_mir_build Ensure that queries only return Copy types. 2022-02-09 20:07:38 +01:00
rustc_mir_dataflow rustc_mir_dataflow: use iter::once instead of Some().into_iter 2022-02-03 13:52:26 -07:00
rustc_mir_transform Rollup merge of #93813 - xldenis:public-mir-passes, r=wesleywiser 2022-02-09 23:29:59 +01:00
rustc_monomorphize add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
rustc_parse clippy::perf fixes 2022-02-03 21:45:51 +01:00
rustc_parse_format Migrate to 2021 2021-09-20 22:21:42 -04:00
rustc_passes Rollup merge of #91504 - cynecx:used_retain, r=nikic 2022-02-09 23:29:56 +01:00
rustc_plugin_impl replace dynamic library module with libloading 2021-12-06 12:03:47 -05:00
rustc_privacy add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
rustc_query_impl Auto merge of #93741 - Mark-Simulacrum:global-job-id, r=cjgillot 2022-02-09 18:54:30 +00:00
rustc_query_system Auto merge of #93741 - Mark-Simulacrum:global-job-id, r=cjgillot 2022-02-09 18:54:30 +00:00
rustc_resolve Use a slice for object_lifetime_defaults. 2022-02-09 20:11:01 +01:00
rustc_save_analysis More let_else adoptions 2022-02-02 17:11:01 +01:00
rustc_serialize Drop json::from_reader 2022-02-05 15:07:10 -05:00
rustc_session Auto merge of #93724 - Mark-Simulacrum:drop-query-stats, r=michaelwoerister 2022-02-09 15:53:10 +00:00
rustc_span Rollup merge of #91504 - cynecx:used_retain, r=nikic 2022-02-09 23:29:56 +01:00
rustc_symbol_mangling add a rustc::query_stability lint 2022-02-01 10:15:59 +01:00
rustc_target Make FnAbiError Copy. 2022-02-09 20:11:29 +01:00
rustc_trait_selection Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00
rustc_traits Avoid clone. 2022-02-09 20:11:33 +01:00
rustc_ty_utils remove TyS::same_type 2022-02-01 11:21:26 +01:00
rustc_type_ir Remove some unused arguments and update a comment 2022-02-02 15:40:12 +00:00
rustc_typeck Auto merge of #93511 - cjgillot:query-copy, r=oli-obk 2022-02-10 09:37:07 +00:00