File tree 5 files changed +91
-59
lines changed
5 files changed +91
-59
lines changed Original file line number Diff line number Diff line change @@ -107,32 +107,32 @@ lazy_static = "1.0.0"
107
107
108
108
[dependencies .rustc_ast ]
109
109
package = " rustc-ap-rustc_ast"
110
- version = " 671 .0.0"
110
+ version = " 672 .0.0"
111
111
112
112
[dependencies .rustc_ast_pretty ]
113
113
package = " rustc-ap-rustc_ast_pretty"
114
- version = " 671 .0.0"
114
+ version = " 672 .0.0"
115
115
116
116
[dependencies .rustc_data_structures ]
117
117
package = " rustc-ap-rustc_data_structures"
118
- version = " 671 .0.0"
118
+ version = " 672 .0.0"
119
119
120
120
[dependencies .rustc_errors ]
121
121
package = " rustc-ap-rustc_errors"
122
- version = " 671 .0.0"
122
+ version = " 672 .0.0"
123
123
124
124
[dependencies .rustc_expand ]
125
125
package = " rustc-ap-rustc_expand"
126
- version = " 671 .0.0"
126
+ version = " 672 .0.0"
127
127
128
128
[dependencies .rustc_parse ]
129
129
package = " rustc-ap-rustc_parse"
130
- version = " 671 .0.0"
130
+ version = " 672 .0.0"
131
131
132
132
[dependencies .rustc_session ]
133
133
package = " rustc-ap-rustc_session"
134
- version = " 671 .0.0"
134
+ version = " 672 .0.0"
135
135
136
136
[dependencies .rustc_span ]
137
137
package = " rustc-ap-rustc_span"
138
- version = " 671 .0.0"
138
+ version = " 672 .0.0"
Original file line number Diff line number Diff line change @@ -339,7 +339,7 @@ impl Rewrite for ast::Attribute {
339
339
340
340
if let Some ( ref meta) = self . meta ( ) {
341
341
// This attribute is possibly a doc attribute needing normalization to a doc comment
342
- if context. config . normalize_doc_attributes ( ) && meta. check_name ( sym:: doc) {
342
+ if context. config . normalize_doc_attributes ( ) && meta. has_name ( sym:: doc) {
343
343
if let Some ( ref literal) = meta. value_str ( ) {
344
344
let comment_style = match self . style {
345
345
ast:: AttrStyle :: Inner => CommentStyle :: Doc ,
You can’t perform that action at this time.
0 commit comments