]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_expand/src/base.rs
Rollup merge of #98022 - compiler-errors:erroneous-borrowck-span, r=oli-obk
[rust.git] / compiler / rustc_expand / src / base.rs
index bb671b8705eb3d3fcd4ff6bb2ec28f737325ed33..75b6b1cc9195bd2f043a00e9b2ec22c554ad17e7 100644 (file)
@@ -1194,7 +1194,7 @@ pub fn expr_to_spanned_string<'a>(
                 err.span_suggestion(
                     expr.span.shrink_to_lo(),
                     "consider removing the leading `b`",
-                    String::new(),
+                    "",
                     Applicability::MaybeIncorrect,
                 );
                 Some((err, true))