diff --git a/src/libsyntax/attr.rs b/src/libsyntax/attr.rs index e2654375736..c3e3042eff0 100644 --- a/src/libsyntax/attr.rs +++ b/src/libsyntax/attr.rs @@ -318,8 +318,6 @@ pub fn find_export_name_attr(diag: &Handler, attrs: &[Attribute]) -> Option bool { contains_name(attrs, "no_mangle") || - contains_name(attrs, "link_section") || - contains_name(attrs, "linkage") || contains_name(attrs, "export_name") }