diff options
Diffstat (limited to 'src/libsyntax/parse')
| -rw-r--r-- | src/libsyntax/parse/parser.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libsyntax/parse/parser.rs b/src/libsyntax/parse/parser.rs index 32a54d6e357..939b3f0fc58 100644 --- a/src/libsyntax/parse/parser.rs +++ b/src/libsyntax/parse/parser.rs @@ -4617,11 +4617,13 @@ impl<'a> Parser<'a> { _ => false, }; if is_macro_rules { - self.diagnostic().struct_span_err(span, "can't qualify macro_rules invocation with `pub`") + self.diagnostic().struct_span_err(span, "can't qualify macro_rules \ + invocation with `pub`") .fileline_help(span, "did you mean #[macro_export]?") .emit(); } else { - self.diagnostic().struct_span_err(span, "can't qualify macro invocation with `pub`") + self.diagnostic().struct_span_err(span, "can't qualify macro \ + invocation with `pub`") .fileline_help(span, "try adjusting the macro to put `pub` \ inside the invocation") .emit(); |
