]> git.lizzy.rs Git - rust.git/commitdiff
Limit line length to below 100 chars
authorest31 <MTest31@outlook.com>
Wed, 30 Dec 2015 15:27:55 +0000 (16:27 +0100)
committerest31 <MTest31@outlook.com>
Wed, 30 Dec 2015 15:27:55 +0000 (16:27 +0100)
src/libsyntax/parse/parser.rs

index 32a54d6e357b3d34b0f83851ad205ba24673d2c6..939b3f0fc58bdd17fb4f254215f1ff720c793ede 100644 (file)
@@ -4617,11 +4617,13 @@ fn complain_if_pub_macro(&mut self, visa: Visibility, span: Span) {
                     _ => 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();