diff options
author | Roland Ruckerbauer <[email protected]> | 2020-01-10 23:06:31 +0000 |
---|---|---|
committer | Roland Ruckerbauer <[email protected]> | 2020-01-12 16:34:57 +0000 |
commit | 15c5426b54412134d3c5f2992e58e852266fc22e (patch) | |
tree | 80200c22c1fc587c11a722964e93d9bd5eae9fcc /crates/ra_hir/src/lib.rs | |
parent | c6655c67d2091b49a10512bfeab631d5f8a09d4b (diff) |
Use hir .path() and .name() to differentiate
macro call and macro definition
Diffstat (limited to 'crates/ra_hir/src/lib.rs')
-rw-r--r-- | crates/ra_hir/src/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/crates/ra_hir/src/lib.rs b/crates/ra_hir/src/lib.rs index 3d13978d4..94da70cca 100644 --- a/crates/ra_hir/src/lib.rs +++ b/crates/ra_hir/src/lib.rs | |||
@@ -58,6 +58,7 @@ pub use hir_def::{ | |||
58 | type_ref::Mutability, | 58 | type_ref::Mutability, |
59 | }; | 59 | }; |
60 | pub use hir_expand::{ | 60 | pub use hir_expand::{ |
61 | name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, MacroDefId, MacroFile, Origin, | 61 | name::name, name::AsName, name::Name, HirFileId, InFile, MacroCallId, MacroCallLoc, MacroDefId, |
62 | MacroFile, Origin, | ||
62 | }; | 63 | }; |
63 | pub use hir_ty::{display::HirDisplay, CallableDef}; | 64 | pub use hir_ty::{display::HirDisplay, CallableDef}; |