Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir_def/src/attr.rs')
| -rw-r--r-- | crates/hir_def/src/attr.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir_def/src/attr.rs b/crates/hir_def/src/attr.rs index 0470b9510f..ef86572fe5 100644 --- a/crates/hir_def/src/attr.rs +++ b/crates/hir_def/src/attr.rs @@ -547,6 +547,7 @@ fn inner_attributes( Some((attrs, docs)) } +#[derive(Debug)] pub struct AttrSourceMap { attrs: Vec<InFile<ast::Attr>>, doc_comments: Vec<InFile<ast::Comment>>, @@ -599,6 +600,7 @@ impl AttrSourceMap { } /// A struct to map text ranges from [`Documentation`] back to TextRanges in the syntax tree. +#[derive(Debug)] pub struct DocsRangeMap { source_map: AttrSourceMap, // (docstring-line-range, attr_index, attr-string-range) |