File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
compiler/rustc_attr_data_structures/src Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -40,18 +40,18 @@ impl AttributeKind {
40
40
Fundamental { .. } => Yes ,
41
41
Ignore { .. } => No ,
42
42
Inline ( ..) => No ,
43
- LinkName { .. } => Yes ,
43
+ LinkName { .. } => Yes , // Needed for rustdoc
44
44
LinkOrdinal { .. } => No ,
45
- LinkSection { .. } => No ,
45
+ LinkSection { .. } => Yes , // Needed for rustdoc
46
46
LoopMatch ( ..) => No ,
47
47
MacroTransparency ( ..) => Yes ,
48
48
Marker ( ..) => No ,
49
49
MayDangle ( ..) => No ,
50
50
MustUse { .. } => Yes ,
51
51
Naked ( ..) => No ,
52
52
NoImplicitPrelude ( ..) => No ,
53
- NoMangle ( ..) => No ,
54
- NonExhaustive ( ..) => Yes ,
53
+ NoMangle ( ..) => Yes , // Needed for rustdoc
54
+ NonExhaustive ( ..) => Yes , // Needed for rustdoc
55
55
OmitGdbPrettyPrinterSection => No ,
56
56
Optimize ( ..) => No ,
57
57
ParenSugar ( ..) => No ,
You can’t perform that action at this time.
0 commit comments