rust/compiler/rustc_parse/src/parser
Yuri Astrakhan bb1ad0a2f1 Optimize format usage
Per #112156, using `&` in `format!` may cause a small perf delay, so I tried to clean up one module at a time format usage. This PR includes a few removals of the ref in format (they do compile locally without the ref), as well as a few format inlining for consistency.
2023-07-24 00:18:52 -04:00
..
attr.rs Simplify some conditions 2023-06-27 07:40:47 +00:00
attr_wrapper.rs Simplify some conditions 2023-06-27 07:40:47 +00:00
diagnostics.rs Don't translate compiler-internal bug messages 2023-07-20 09:51:47 +00:00
expr.rs Optimize format usage 2023-07-24 00:18:52 -04:00
generics.rs fix couple of clippy findings: 2023-07-23 10:50:14 +02:00
item.rs Fix the issue of wrong diagnosis for extern pub fn 2023-07-05 16:25:46 +08:00
mod.rs Fix inline_const with interpolated block 2023-07-19 16:24:58 +00:00
nonterminal.rs use matches! macro in more places 2023-04-16 12:08:30 +02:00
pat.rs Don't translate compiler-internal bug messages 2023-07-20 09:51:47 +00:00
path.rs Rollup merge of #110791 - compiler-errors:negative-bounds, r=oli-obk 2023-05-04 00:17:23 +05:30
stmt.rs Use Cow in {D,Subd}iagnosticMessage. 2023-05-29 09:23:43 +10:00
ty.rs Make it clearer that edition functions are >=, not == 2023-07-19 16:38:35 +00:00