]> git.lizzy.rs Git - rust.git/blobdiff - src/expr.rs
Properly format macro's with an extra ident
[rust.git] / src / expr.rs
index d933f68ce187248e40b97ea4e7acedd87625c4ad..96079a29b26c12343ba6cbd15207587f5f364186 100644 (file)
@@ -154,7 +154,7 @@ fn rewrite(&self, context: &RewriteContext, width: usize, offset: Indent) -> Opt
             ast::ExprKind::Mac(ref mac) => {
                 // Failure to rewrite a marco should not imply failure to
                 // rewrite the expression.
-                rewrite_macro(mac, context, width, offset).or_else(|| {
+                rewrite_macro(mac, None, context, width, offset).or_else(|| {
                     wrap_str(context.snippet(self.span),
                              context.config.max_width,
                              width,