rust/compiler/rustc_expand/src
Matthias Krüger d34c4ca9be
Rollup merge of #98668 - TaKO8Ki:avoid-many-&str-to-string-conversions, r=Dylan-DPC
Avoid some `&str` to `String` conversions with `MultiSpan::push_span_label`

This patch removes some`&str` to `String` conversions with `MultiSpan::push_span_label`.
2022-06-29 20:35:07 +02:00
..
mbe remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
mut_visit rustc_ast: Turn MutVisitor::token_visiting_enabled into a constant 2021-10-18 00:23:24 +03:00
parse use CursorRef more, to not to clone Trees 2022-05-18 18:43:48 +03:00
tokenstream Remove TokenStream::from_streams. 2022-06-20 09:33:08 +10:00
base.rs various: add rustc_lint_diagnostics to diag fns 2022-06-27 08:32:06 +01:00
build.rs Optimize the code produced by derive(Debug). 2022-06-24 09:40:15 +10:00
config.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
expand.rs remove unnecessary to_string and String::new 2022-06-13 15:48:40 +09:00
lib.rs various: add rustc_lint_diagnostics to diag fns 2022-06-27 08:32:06 +01:00
mbe.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
module.rs Remove crate visibility usage in compiler 2022-05-20 20:04:54 -04:00
placeholders.rs Save colon span to suggest bounds. 2022-04-30 13:55:17 +02:00
proc_macro.rs proc_macro: don't pass a client-side function pointer through the server. 2022-05-27 19:29:21 +00:00
proc_macro_server.rs review changes 2022-06-28 09:54:29 -04:00
tests.rs avoid many &str to String conversions with MultiSpan::push_span_label 2022-06-29 21:16:43 +09:00