aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_syntax/src/ast
diff options
context:
space:
mode:
authorFlorian Diebold <[email protected]>2018-12-22 21:17:55 +0000
committerFlorian Diebold <[email protected]>2018-12-23 12:48:04 +0000
commit3899898d75176ce3cd87f9e2acecd7e3a987dda5 (patch)
tree00dc54ff21b509d1c68ba7d1d0d1bddd2848b45f /crates/ra_syntax/src/ast
parent3ac605e6876056fa56098231cc2f96553faab8f0 (diff)
Parse integer / float types
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r--crates/ra_syntax/src/ast/generated.rs6
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
2700impl<'a> PathType<'a> {} 2700impl<'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,)]