File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ impl<'a> CfgIfVisitor<'a> {
28
28
}
29
29
30
30
impl < ' a , ' ast : ' a > Visitor < ' ast > for CfgIfVisitor < ' a > {
31
- fn visit_mac ( & mut self , mac : & ' ast ast:: MacCall ) {
31
+ fn visit_mac_call ( & mut self , mac : & ' ast ast:: MacCall ) {
32
32
match self . visit_mac_inner ( mac) {
33
33
Ok ( ( ) ) => { }
34
34
Err ( e) => debug ! ( "{}" , e) ,
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ impl SkipContext {
29
29
}
30
30
}
31
31
for attr in attrs {
32
- if let rustc_ast:: ast:: AttrKind :: Normal ( ref attr_item) = & attr. kind {
32
+ if let rustc_ast:: ast:: AttrKind :: Normal ( ref attr_item, _ ) = & attr. kind {
33
33
if is_skip_attr_with ( & attr_item. path . segments , |s| s == sym ! ( macros) ) {
34
34
get_skip_names ( & mut self . macros , attr)
35
35
} else if is_skip_attr_with ( & attr_item. path . segments , |s| s == sym:: attributes) {
Original file line number Diff line number Diff line change @@ -917,7 +917,7 @@ impl<'b, 'a: 'b> FmtVisitor<'a> {
917
917
) ;
918
918
} else {
919
919
match & attr. kind {
920
- ast:: AttrKind :: Normal ( ref attribute_item)
920
+ ast:: AttrKind :: Normal ( ref attribute_item, _ )
921
921
if self . is_unknown_rustfmt_attr ( & attribute_item. path . segments ) =>
922
922
{
923
923
let file_name = self . parse_sess . span_to_filename ( attr. span ) ;
You can’t perform that action at this time.
0 commit comments