about summary refs log tree commit diff
path: root/tests/coverage/branch_while.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2024-04-16 21:41:26 +0200
committerGitHub <noreply@github.com>2024-04-16 21:41:26 +0200
commit4779115f2b06b9673a6329565304758ef948148f (patch)
tree45849ebbf4c01fe5a5d0e6b728e9cebbad5576f4 /tests/coverage/branch_while.rs
parentf939d1ff4820844595d0f50f94038869f1445d08 (diff)
parent780dfb803fe1b0ad139bac9736ce847c75ab1c81 (diff)
downloadrust-4779115f2b06b9673a6329565304758ef948148f.tar.gz
rust-4779115f2b06b9673a6329565304758ef948148f.zip
Rollup merge of #124016 - DaniPopes:dedup-default-providers, r=lcnr
Outline default query and hook provider function implementations

The default query and hook provider functions call `bug!` with a decently long message.
Due to argument inlining in `format_args!` ([`flatten_format_args`](https://github.com/rust-lang/rust/issues/78356)), this ends up duplicating the message for each query, adding ~90KB to `librustc_driver.so` of unreachable panic messages.
To avoid this, we can outline the common `bug!` logic.
Diffstat (limited to 'tests/coverage/branch_while.rs')
0 files changed, 0 insertions, 0 deletions