diff options
| author | bors <bors@rust-lang.org> | 2023-09-06 17:44:33 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-06 17:44:33 +0000 |
| commit | f29867bd26ec0ed34a8c26cd39fc02df657a13f8 (patch) | |
| tree | 459da388d223ff7f0f211e5af3058caf13b04308 /compiler/rustc_mir_transform/src/coverage/debug.rs | |
| parent | b9a9722bda8f1ff7d8691701b98a753f74e70c06 (diff) | |
| parent | 96f19231d3d241c41540570f6caee29666aa9384 (diff) | |
| download | rust-f29867bd26ec0ed34a8c26cd39fc02df657a13f8.tar.gz rust-f29867bd26ec0ed34a8c26cd39fc02df657a13f8.zip | |
Auto merge of #15559 - Veykril:builtin-format-args, r=Veykril
Implement builtin#format_args, using rustc's format_args parser `format_args!` now expands to `builtin#format_args(template, args...)`, the actual expansion now instead happens in lowering where we desugar this expression by using lang paths. As a bonus, we no longer need to evaluate `format_args` as an eager macro which means less macro expansions overall -> less cache thrashing! Fixes https://github.com/rust-lang/rust-analyzer/issues/15082
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions
