mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-04 14:07:36 +00:00
![]() 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. |
||
---|---|---|
.. | ||
mod.rs |