diff options
Diffstat (limited to 'crates/hir/src/diagnostics.rs')
-rw-r--r-- | crates/hir/src/diagnostics.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/hir/src/diagnostics.rs b/crates/hir/src/diagnostics.rs index b1ebba516..414c3f35e 100644 --- a/crates/hir/src/diagnostics.rs +++ b/crates/hir/src/diagnostics.rs | |||
@@ -1,4 +1,8 @@ | |||
1 | //! FIXME: write short doc here | 1 | //! Re-export diagnostics such that clients of `hir` don't have to depend on |
2 | //! low-level crates. | ||
3 | //! | ||
4 | //! This probably isn't the best way to do this -- ideally, diagnistics should | ||
5 | //! be expressed in terms of hir types themselves. | ||
2 | pub use hir_def::diagnostics::{ | 6 | pub use hir_def::diagnostics::{ |
3 | InactiveCode, UnresolvedMacroCall, UnresolvedModule, UnresolvedProcMacro, | 7 | InactiveCode, UnresolvedMacroCall, UnresolvedModule, UnresolvedProcMacro, |
4 | }; | 8 | }; |