rust/compiler/rustc_middle/src/middle
Yuri Astrakhan aef0e346de Avoid ref when using format! in compiler
Clean up a few minor refs in `format!` macro, as it has a performance cost. Apparently the compiler is unable to inline `format!("{}", &variable)`, and does a run-time double-reference instead (format macro already does one level referencing).  Inlining format args prevents accidental `&` misuse.
2024-07-19 14:52:07 -04:00
..
codegen_fn_attrs.rs Rollup merge of #124741 - nebulark:patchable-function-entries-pr, r=estebank,workingjubilee 2024-06-28 08:34:07 +02:00
debugger_visualizer.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
dependency_format.rs add fixme 2024-05-01 15:59:46 +03:00
exported_symbols.rs Rename InstanceDef -> InstanceKind 2024-06-16 21:35:21 -04:00
lang_items.rs add TyCtxt::as_lang_item, use in new solver 2024-07-02 16:16:52 -04:00
limits.rs Re-implement a type-size based limit 2024-07-02 15:48:48 -04:00
mod.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
privacy.rs Add blank lines after module-level //! comments. 2024-06-20 09:23:20 +10:00
region.rs Remove #[macro_use] extern crate tracing from rustc_middle. 2024-05-23 18:02:40 +10:00
resolve_bound_vars.rs Remove extern crate rustc_macros from rustc_middle. 2024-04-29 11:19:16 +10:00
stability.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00