aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--crates/ra_hir_def/src/path.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/crates/ra_hir_def/src/path.rs b/crates/ra_hir_def/src/path.rs
index 3b26e8337..c37364f57 100644
--- a/crates/ra_hir_def/src/path.rs
+++ b/crates/ra_hir_def/src/path.rs
@@ -100,13 +100,14 @@ pub enum GenericArg {
100#[derive(Debug, Clone, PartialEq, Eq, Hash)] 100#[derive(Debug, Clone, PartialEq, Eq, Hash)]
101pub enum PathKind { 101pub enum PathKind {
102 Plain, 102 Plain,
103 /// `self::` is `Super(0)`
103 Super(u8), 104 Super(u8),
104 Crate, 105 Crate,
105 // Absolute path 106 /// Absolute path (::foo)
106 Abs, 107 Abs,
107 // Type based path like `<T>::foo` 108 /// Type based path like `<T>::foo`
108 Type(Box<TypeRef>), 109 Type(Box<TypeRef>),
109 // `$crate` from macro expansion 110 /// `$crate` from macro expansion
110 DollarCrate(CrateId), 111 DollarCrate(CrateId),
111} 112}
112 113