Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir/src/diagnostics.rs')
| -rw-r--r-- | crates/hir/src/diagnostics.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs index 1f65c05c1e..6a06c6b10f 100644 --- a/crates/hir/src/diagnostics.rs +++ b/crates/hir/src/diagnostics.rs @@ -69,6 +69,7 @@ pub struct UnresolvedImport { #[derive(Debug, Clone, Eq, PartialEq)] pub struct UnresolvedMacroCall { pub macro_call: InFile<SyntaxNodePtr>, + pub precise_location: Option<TextRange>, pub path: ModPath, pub is_bang: bool, } @@ -95,6 +96,7 @@ pub struct UnresolvedProcMacro { #[derive(Debug, Clone, Eq, PartialEq)] pub struct MacroError { pub node: InFile<SyntaxNodePtr>, + pub precise_location: Option<TextRange>, pub message: String, } |