rust/compiler
bors 48132caac2 Auto merge of #94427 - cjgillot:inline-fresh-expn, r=oli-obk
Only create a single expansion for each inline integration.

The inlining integrator used to create one expansion for each span from the callee body.
This PR reverses the logic to create a single expansion for the whole call,
which is more consistent with how macro expansions work for macros.

This should remove the large memory regression in #91743.
2022-02-28 08:25:26 +00:00
..
rustc
rustc_apfloat
rustc_arena
rustc_ast 2 - Make more use of let_chains 2022-02-26 13:45:43 -03:00
rustc_ast_lowering Auto merge of #94290 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2022-02-25 18:34:02 +00:00
rustc_ast_passes Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_ast_pretty
rustc_attr Rollup merge of #94175 - Urgau:check-cfg-improvements, r=petrochenkov 2022-02-24 21:42:13 +01:00
rustc_borrowck 3 - Make more use of let_chains 2022-02-27 11:10:20 -03:00
rustc_builtin_macros Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_codegen_cranelift Normalize main return type during mono item collection & codegen 2022-02-23 22:33:50 +01:00
rustc_codegen_gcc Auto merge of #94123 - bjorn3:cg_ssa_singleton_builder, r=tmiasko 2022-02-24 12:28:19 +00:00
rustc_codegen_llvm Apply noundef metadata to loads of types that do not permit raw init 2022-02-27 12:16:16 -05:00
rustc_codegen_ssa Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_const_eval Auto merge of #94290 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2022-02-25 18:34:02 +00:00
rustc_data_structures Auto merge of #94084 - Mark-Simulacrum:drop-sharded, r=cjgillot 2022-02-27 14:04:07 +00:00
rustc_driver Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_error_codes Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
rustc_errors Auto merge of #94427 - cjgillot:inline-fresh-expn, r=oli-obk 2022-02-28 08:25:26 +00:00
rustc_expand Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_feature Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
rustc_fs_util
rustc_graphviz
rustc_hir Remove in-band lifetimes 2022-02-24 18:50:33 -08:00
rustc_hir_pretty resolve: Fix incorrect results of opt_def_kind query for some built-in macros 2022-02-24 22:54:36 +03:00
rustc_incremental Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_index Fix test 2022-02-24 16:02:07 -05:00
rustc_infer Auto merge of #94290 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2022-02-25 18:34:02 +00:00
rustc_interface Rollup merge of #94415 - bjorn3:cfg_default_backend, r=Mark-Simulacrum 2022-02-27 21:46:36 +01:00
rustc_lexer Improve scan_escape. 2022-02-24 17:01:01 +11:00
rustc_lint Rollup merge of #94397 - xFrednet:69838-deprecate-pre-expansion, r=cjgillot 2022-02-27 21:46:34 +01:00
rustc_lint_defs Improve diagnostic of the unexpected_cfgs lint 2022-02-22 23:17:13 +01:00
rustc_llvm AttrBuilder doesn't take a context in old LLVM 2022-02-26 17:16:01 -05:00
rustc_log
rustc_macros Auto merge of #93878 - Aaron1011:newtype-macro, r=cjgillot 2022-02-25 03:16:22 +00:00
rustc_metadata Auto merge of #94290 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2022-02-25 18:34:02 +00:00
rustc_middle Auto merge of #94157 - erikdesjardins:more-noundef, r=nikic 2022-02-27 21:41:06 +00:00
rustc_mir_build Enable rustc_pass_by_value for Span 2022-02-25 08:00:53 -05:00
rustc_mir_dataflow Rollup merge of #94087 - tmiasko:rm-ignore-borrow-on-drop, r=jackh726 2022-02-26 07:52:42 +01:00
rustc_mir_transform Auto merge of #94427 - cjgillot:inline-fresh-expn, r=oli-obk 2022-02-28 08:25:26 +00:00
rustc_monomorphize Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_parse Suggest {} around more bad const generic exprs 2022-02-25 17:16:58 -08:00
rustc_parse_format
rustc_passes check_used should only look at actual used attributes 2022-02-25 22:53:34 +01:00
rustc_plugin_impl
rustc_privacy Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_query_impl Auto merge of #94084 - Mark-Simulacrum:drop-sharded, r=cjgillot 2022-02-27 14:04:07 +00:00
rustc_query_system Auto merge of #94084 - Mark-Simulacrum:drop-sharded, r=cjgillot 2022-02-27 14:04:07 +00:00
rustc_resolve Auto merge of #94290 - Mark-Simulacrum:bump-bootstrap, r=pietroalbini 2022-02-25 18:34:02 +00:00
rustc_save_analysis Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_serialize Delete Decoder::read_unit 2022-02-22 18:14:51 -05:00
rustc_session Auto merge of #93516 - nagisa:branch-protection, r=cjgillot 2022-02-26 21:53:03 +00:00
rustc_span Auto merge of #94427 - cjgillot:inline-fresh-expn, r=oli-obk 2022-02-28 08:25:26 +00:00
rustc_symbol_mangling Switch bootstrap cfgs 2022-02-25 08:00:52 -05:00
rustc_target riscv32imc_esp_espidf: set max_atomic_width to 64 2022-02-23 13:11:26 +00:00
rustc_trait_selection Auto merge of #94144 - est31:let_else_trait_selection, r=cjgillot 2022-02-27 07:02:46 +00:00
rustc_traits chalk/db: use correct debrujin index when replacing opaque type. 2022-02-22 00:16:56 +01:00
rustc_ty_utils Restrict query recursion in needs_significant_drop 2022-02-24 12:23:35 -05:00
rustc_type_ir
rustc_typeck Rollup merge of #94396 - c410-f3r:yet-more-let-chains, r=Dylan-DPC 2022-02-27 21:46:33 +01:00