Skip to content

Commit 4f449e2

Browse files
author
Jonathan Turner
authored
Fix tidy warning
1 parent 5f2e32d commit 4f449e2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/libsyntax/attr.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ pub fn find_export_name_attr(diag: &Handler, attrs: &[Attribute]) -> Option<Inte
438438
} else {
439439
struct_span_err!(diag, attr.span, E0558,
440440
"export_name attribute has invalid format")
441-
.span_label(attr.span, &format!("did you mean #[export_name=\"*\"]?"))
441+
.span_label(attr.span,
442+
&format!("did you mean #[export_name=\"*\"]?"))
442443
.emit();
443444
None
444445
}

0 commit comments

Comments
 (0)