Limit line length to below 100 chars

This commit is contained in:
est31 2015-12-30 16:27:55 +01:00
parent 94434f1f6c
commit 40a9481f87

View File

@ -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();