diff options
Diffstat (limited to 'crates/ra_syntax/src/ast/generated.rs')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index 91f27fb26..74bf4d3cc 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -2697,7 +2697,11 @@ impl<R: TreeRoot<RaTypes>> PathTypeNode<R> { | |||
2697 | } | 2697 | } |
2698 | 2698 | ||
2699 | 2699 | ||
2700 | impl<'a> PathType<'a> {} | 2700 | impl<'a> PathType<'a> { |
2701 | pub fn path(self) -> Option<Path<'a>> { | ||
2702 | super::child_opt(self) | ||
2703 | } | ||
2704 | } | ||
2701 | 2705 | ||
2702 | // PlaceholderPat | 2706 | // PlaceholderPat |
2703 | #[derive(Debug, Clone, Copy,)] | 2707 | #[derive(Debug, Clone, Copy,)] |