diff options
author | DJMcNab <[email protected]> | 2018-12-21 22:29:59 +0000 |
---|---|---|
committer | DJMcNab <[email protected]> | 2018-12-21 22:29:59 +0000 |
commit | d8d60215dacc3eeddeda4d6af7007e2129fdb00e (patch) | |
tree | 4caab03638e2a66c06f91d21762b09bab5cdca4a /crates/ra_syntax | |
parent | 67ac0a423f767ce8973348d5188e8baa6979d380 (diff) |
Fix handling of nested self in paths
Diffstat (limited to 'crates/ra_syntax')
-rw-r--r-- | crates/ra_syntax/src/ast.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast.rs b/crates/ra_syntax/src/ast.rs index 91c67119f..f12479fb4 100644 --- a/crates/ra_syntax/src/ast.rs +++ b/crates/ra_syntax/src/ast.rs | |||
@@ -284,7 +284,7 @@ impl<'a> IfExpr<'a> { | |||
284 | } | 284 | } |
285 | } | 285 | } |
286 | 286 | ||
287 | #[derive(Debug, Clone, Copy)] | 287 | #[derive(Debug, Clone, Copy, PartialEq, Eq)] |
288 | pub enum PathSegmentKind<'a> { | 288 | pub enum PathSegmentKind<'a> { |
289 | Name(NameRef<'a>), | 289 | Name(NameRef<'a>), |
290 | SelfKw, | 290 | SelfKw, |