We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cab94d2 commit 73417b1Copy full SHA for 73417b1
compiler/rustc_data_structures/src/profiling.rs
@@ -778,7 +778,7 @@ pub fn print_time_passes_entry(
778
"rss_start": start_rss,
779
"rss_end": end_rss,
780
});
781
- eprintln!("time: {}", json);
+ eprintln!("time: {json}");
782
return;
783
}
784
TimePassesFormat::Text => (),
compiler/rustc_macros/src/diagnostics/fluent.rs
@@ -100,7 +100,7 @@ pub(crate) fn fluent_messages(input: proc_macro::TokenStream) -> proc_macro::Tok
100
Diagnostic::spanned(
101
resource_span,
102
Level::Error,
103
- format!("could not open Fluent resource: {}", e),
+ format!("could not open Fluent resource: {e}"),
104
)
105
.emit();
106
return failed(&crate_name);
0 commit comments