Skip to content

Commit 02a3ed4

Browse files
deps: bump rustc-ap to v672
1 parent 334e297 commit 02a3ed4

File tree

5 files changed

+91
-59
lines changed

5 files changed

+91
-59
lines changed

Cargo.lock

+80-48
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+8-8
Original file line numberDiff line numberDiff line change
@@ -107,32 +107,32 @@ lazy_static = "1.0.0"
107107

108108
[dependencies.rustc_ast]
109109
package = "rustc-ap-rustc_ast"
110-
version = "671.0.0"
110+
version = "672.0.0"
111111

112112
[dependencies.rustc_ast_pretty]
113113
package = "rustc-ap-rustc_ast_pretty"
114-
version = "671.0.0"
114+
version = "672.0.0"
115115

116116
[dependencies.rustc_data_structures]
117117
package = "rustc-ap-rustc_data_structures"
118-
version = "671.0.0"
118+
version = "672.0.0"
119119

120120
[dependencies.rustc_errors]
121121
package = "rustc-ap-rustc_errors"
122-
version = "671.0.0"
122+
version = "672.0.0"
123123

124124
[dependencies.rustc_expand]
125125
package = "rustc-ap-rustc_expand"
126-
version = "671.0.0"
126+
version = "672.0.0"
127127

128128
[dependencies.rustc_parse]
129129
package = "rustc-ap-rustc_parse"
130-
version = "671.0.0"
130+
version = "672.0.0"
131131

132132
[dependencies.rustc_session]
133133
package = "rustc-ap-rustc_session"
134-
version = "671.0.0"
134+
version = "672.0.0"
135135

136136
[dependencies.rustc_span]
137137
package = "rustc-ap-rustc_span"
138-
version = "671.0.0"
138+
version = "672.0.0"

src/formatting/attr.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ impl Rewrite for ast::Attribute {
339339

340340
if let Some(ref meta) = self.meta() {
341341
// 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) {
343343
if let Some(ref literal) = meta.value_str() {
344344
let comment_style = match self.style {
345345
ast::AttrStyle::Inner => CommentStyle::Doc,

0 commit comments

Comments
 (0)