diff options
author | Florian Diebold <[email protected]> | 2019-09-07 14:13:05 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-09-07 14:13:05 +0100 |
commit | d21cdf3c998bb24e48e81a7e6909df2146ce097c (patch) | |
tree | 5f6928f1ee40b3f314c6f74f3552e06f820b5ca7 /crates/ra_syntax/src/ast | |
parent | 60bdb66ef23f78d8c73afa1897a4542e7e722ed2 (diff) |
Lower `Fn(X, Y) -> Z` paths
Diffstat (limited to 'crates/ra_syntax/src/ast')
-rw-r--r-- | crates/ra_syntax/src/ast/generated.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/ra_syntax/src/ast/generated.rs b/crates/ra_syntax/src/ast/generated.rs index bcf753f78..d274b6fbc 100644 --- a/crates/ra_syntax/src/ast/generated.rs +++ b/crates/ra_syntax/src/ast/generated.rs | |||
@@ -2312,6 +2312,12 @@ impl PathSegment { | |||
2312 | pub fn type_arg_list(&self) -> Option<TypeArgList> { | 2312 | pub fn type_arg_list(&self) -> Option<TypeArgList> { |
2313 | AstChildren::new(&self.syntax).next() | 2313 | AstChildren::new(&self.syntax).next() |
2314 | } | 2314 | } |
2315 | pub fn param_list(&self) -> Option<ParamList> { | ||
2316 | AstChildren::new(&self.syntax).next() | ||
2317 | } | ||
2318 | pub fn ret_type(&self) -> Option<RetType> { | ||
2319 | AstChildren::new(&self.syntax).next() | ||
2320 | } | ||
2315 | } | 2321 | } |
2316 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] | 2322 | #[derive(Debug, Clone, PartialEq, Eq, Hash)] |
2317 | pub struct PathType { | 2323 | pub struct PathType { |