rust/compiler/rustc_resolve/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
..
late Use field ident spans directly instead of the full field span in diagnostics on local fields 2024-07-06 19:22:05 +00:00
build_reduced_graph.rs Update method name to reflect changes to its internals 2024-07-16 15:34:35 +00:00
check_unused.rs Rename buffer_lint_with_diagnostic to buffer_lint 2024-05-21 20:16:39 +00:00
def_collector.rs Add ConstArgKind::Path and make ConstArg its own HIR node 2024-07-16 19:27:28 -07:00
diagnostics.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
effective_visibilities.rs resolve: Tweak some naming around import ambiguities 2024-06-25 19:52:59 +03:00
errors.rs When finding item gated behind a cfg flat, point at it 2024-07-12 18:52:52 +00:00
ident.rs Account for let foo = expr; to suggest const foo: Ty = expr; 2024-07-11 20:39:24 +00:00
imports.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00
late.rs Auto merge of #117967 - adetaylor:fix-lifetime-elision-bug, r=lcnr 2024-07-18 13:33:38 +00:00
lib.rs Account for let foo = expr; to suggest const foo: Ty = expr; 2024-07-11 20:39:24 +00:00
macros.rs out_of_scope_macro_calls: Detect calls inside attributes more precisely 2024-07-06 15:36:30 +03:00
rustdoc.rs Avoid ref when using format! in compiler 2024-07-19 14:52:07 -04:00