aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_hir/src/lib.rs
diff options
context:
space:
mode:
authorRoland Ruckerbauer <[email protected]>2020-01-10 23:06:31 +0000
committerRoland Ruckerbauer <[email protected]>2020-01-12 16:34:57 +0000
commit15c5426b54412134d3c5f2992e58e852266fc22e (patch)
tree80200c22c1fc587c11a722964e93d9bd5eae9fcc /crates/ra_hir/src/lib.rs
parentc6655c67d2091b49a10512bfeab631d5f8a09d4b (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.rs3
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};
60pub use hir_expand::{ 60pub 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};
63pub use hir_ty::{display::HirDisplay, CallableDef}; 64pub use hir_ty::{display::HirDisplay, CallableDef};