rust/compiler/rustc_hir_analysis/src
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
..
check Rollup merge of #121533 - ratmice:wasm_init_fini_array, r=nnethercote 2024-07-19 03:27:46 -05:00
coherence Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
collect Add ConstArgKind::Path and make ConstArg its own HIR node 2024-07-16 19:27:28 -07:00
errors Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
hir_ty_lowering Auto merge of #127956 - tgross35:rollup-8ten7pk, r=tgross35 2024-07-19 11:08:02 +00:00
impl_wf_check Move trait selection error reporting to its own top-level module 2024-07-08 16:04:47 -04:00
outlives Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
variance Slightly refactor the dumping of HIR analysis data 2024-06-20 20:31:32 +02:00
autoderef.rs Make builtin_deref just return a Ty 2024-05-09 22:55:00 -04:00
bounds.rs Add constness to TraitDef 2024-07-03 15:37:34 +00:00
check_unused.rs Remove LintDiagnostic::msg 2024-05-23 04:08:35 +02:00
collect.rs Add ConstArgKind::Path and make ConstArg its own HIR node 2024-07-16 19:27:28 -07:00
constrained_generic_params.rs Auto merge of #125076 - compiler-errors:alias-term, r=lcnr 2024-05-13 22:20:43 +00:00
errors.rs Rollup merge of #127929 - estebank:addr_of, r=compiler-errors 2024-07-18 23:05:24 +02:00
hir_wf_check.rs Handle safety keyword for extern block inner items 2024-06-04 14:19:42 -03:00
impl_wf_check.rs Hide some follow-up errors 2024-06-03 13:03:53 +00:00
lib.rs Remove structured_errors module 2024-07-08 19:29:55 +00:00