]> git.lizzy.rs Git - rust.git/blobdiff - compiler/rustc_builtin_macros/src/deriving/clone.rs
Auto merge of #87225 - estebank:cleanup, r=oli-obk
[rust.git] / compiler / rustc_builtin_macros / src / deriving / clone.rs
index 90cdd62144d7246d5f5b5226786ea5865113b599..2e5ad66c60bb8778919d1f2429671350ef506125 100644 (file)
@@ -149,11 +149,7 @@ fn process_variant(cx: &mut ExtCtxt<'_>, stmts: &mut Vec<ast::Stmt>, variant: &V
             }
             _ => cx.span_bug(
                 trait_span,
-                &format!(
-                    "unexpected substructure in \
-                                                    shallow `derive({})`",
-                    name
-                ),
+                &format!("unexpected substructure in shallow `derive({})`", name),
             ),
         }
     }