diff --git a/crates/fmt/src/state/common.rs b/crates/fmt/src/state/common.rs index 6ea696f2fe1cd..e3e37c5169329 100644 --- a/crates/fmt/src/state/common.rs +++ b/crates/fmt/src/state/common.rs @@ -176,6 +176,7 @@ impl<'ast> State<'_, 'ast> { let mut s = format!("{prefix}{quote}{s}{quote}"); // If the output is not a single token then revert to the original quote. + #[allow(unstable_name_collisions)] if Cursor::new(&s).exactly_one().is_err() { let other_quote = if quote == '\"' { '\'' } else { '\"' }; {