Skip to content

Commit adee37a

Browse files
repr attribute needs to be stored to be used in doc(inline) by rustdoc
1 parent 64bcb32 commit adee37a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_feature/src/builtin_attrs.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -344,7 +344,7 @@ pub const BUILTIN_ATTRIBUTES: &[BuiltinAttribute] = &[
344344
),
345345
ungated!(link_name, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
346346
ungated!(no_link, Normal, template!(Word), WarnFollowing),
347-
ungated!(repr, Normal, template!(List: "C"), DuplicatesOk, @only_local: true),
347+
ungated!(repr, Normal, template!(List: "C"), DuplicatesOk),
348348
ungated!(export_name, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
349349
ungated!(link_section, Normal, template!(NameValueStr: "name"), FutureWarnPreceding),
350350
ungated!(no_mangle, Normal, template!(Word), WarnFollowing, @only_local: true),

0 commit comments

Comments
 (0)