summaryrefslogtreecommitdiff
path: root/compiler/rustc_log
diff options
context:
space:
mode:
authornils <48135649+Nilstrieb@users.noreply.github.com>2022-12-19 10:31:55 +0100
committerNilstrieb <48135649+Nilstrieb@users.noreply.github.com>2023-01-05 19:01:12 +0100
commitfd7a15971069156f1741fb3a3c34c9f0c54d5744 (patch)
treee081208c1b2c12edf14fa3be5905ac29aac2a41d /compiler/rustc_log
parent1d284af117716473e1a35cc0d91c170e44e3fc6e (diff)
downloadrust-fd7a15971069156f1741fb3a3c34c9f0c54d5744.tar.gz
Fix `uninlined_format_args` for some compiler crates
Convert all the crates that have had their diagnostic migration completed (except save_analysis because that will be deleted soon and apfloat because of the licensing problem).
Diffstat (limited to 'compiler/rustc_log')
-rw-r--r--compiler/rustc_log/src/lib.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_log/src/lib.rs b/compiler/rustc_log/src/lib.rs
index ddf29c488c9..4cac88aff64 100644
--- a/compiler/rustc_log/src/lib.rs
+++ b/compiler/rustc_log/src/lib.rs
@@ -114,8 +114,7 @@ impl Display for Error {
match self {
Error::InvalidColorValue(value) => write!(
formatter,
- "invalid log color value '{}': expected one of always, never, or auto",
- value,
+ "invalid log color value '{value}': expected one of always, never, or auto",
),
Error::NonUnicodeColorValue => write!(
formatter,