self, Attribute, CrateSugar, MetaItem, MetaItemKind, NestedMetaItem, NestedMetaItemKind, Path,
Visibility, VisibilityKind,
};
-use syntax::codemap::{BytePos, Span, NO_EXPANSION};
use syntax::ptr;
+use syntax::source_map::{BytePos, Span, NO_EXPANSION};
use comment::filter_normal_code;
use rewrite::RewriteContext;
!$self.config.file_lines().is_all() && !$self
.config
.file_lines()
- .intersects(&$self.codemap.lookup_line_range($span))
+ .intersects(&$self.source_map.lookup_line_range($span))
};
}