rust/compiler/rustc_middle/src/query
Guillaume Gomez 4779115f2b
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.
2024-04-16 21:41:26 +02:00
..
erase.rs cache type info for ParamEnv 2024-04-04 18:33:38 +02:00
keys.rs Auto merge of #122213 - estebank:issue-50195, r=oli-obk,estebank 2024-04-11 02:37:35 +00:00
mod.rs Rollup merge of #123995 - compiler-errors:thir-hooks, r=oli-obk 2024-04-16 15:19:15 +02:00
on_disk_cache.rs Auto merge of #123099 - oli-obk:span_tcx, r=petrochenkov 2024-04-09 03:04:20 +00:00
plumbing.rs Outline default query and hook provider function implementations 2024-04-16 15:41:02 +02:00