We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e8fb74 commit 2355b34Copy full SHA for 2355b34
src/test/ui/attributes/item-attributes.rs
@@ -102,6 +102,24 @@ mod test_attr_inner {
102
// This is an attribute of mod m
103
#![rustc_dummy = "val"]
104
}
105
+
106
+ pub struct S {
107
+ #![rustc_dummy = "val"]
108
+ }
109
110
+ pub union U {
111
112
113
+ _private: (),
114
115
116
+ pub enum E {
117
118
119
+ Variant {
120
121
122
123
124
125
mod test_attr_inner_then_outer {
0 commit comments