mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Make repr
attribute local_only
This commit is contained in:
parent
af2c7e0f9b
commit
344dd0e828
@ -344,7 +344,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
|
|||||||
),
|
),
|
||||||
ungated!(link_name, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
|
ungated!(link_name, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
|
||||||
ungated!(no_link, Normal, template!(Word), WarnFollowing),
|
ungated!(no_link, Normal, template!(Word), WarnFollowing),
|
||||||
ungated!(repr, Normal, template!(List: "C"), DuplicatesOk),
|
ungated!(repr, Normal, template!(List: "C"), DuplicatesOk, @only_local: true),
|
||||||
ungated!(export_name, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
|
ungated!(export_name, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
|
||||||
ungated!(link_section, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
|
ungated!(link_section, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
|
||||||
ungated!(no_mangle, Normal, template!(Word), WarnFollowing, @only_local: true),
|
ungated!(no_mangle, Normal, template!(Word), WarnFollowing, @only_local: true),
|
||||||
|
Loading…
Reference in New Issue
Block a user