Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-def/src/item_tree/attrs.rs')
| -rw-r--r-- | crates/hir-def/src/item_tree/attrs.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/crates/hir-def/src/item_tree/attrs.rs b/crates/hir-def/src/item_tree/attrs.rs index 81a9b28b62..bfebce0013 100644 --- a/crates/hir-def/src/item_tree/attrs.rs +++ b/crates/hir-def/src/item_tree/attrs.rs @@ -18,7 +18,6 @@ use hir_expand::{ name::Name, }; use intern::{Interned, Symbol, sym}; -use span::Span; use syntax::{AstNode, T, ast}; use syntax_bridge::DocCommentDesugarMode; use tt::token_to_literal; @@ -49,7 +48,7 @@ impl AttrsOrCfg { span_map: S, ) -> AttrsOrCfg where - S: syntax_bridge::SpanMapper<Span> + Copy, + S: syntax_bridge::SpanMapper + Copy, { let mut attrs = Vec::new(); let result = |