diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-02-17 16:27:58 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2022-02-18 09:10:52 +0100 |
commit | 425ebda24393eb4f40190228b7ef4b69e6253251 (patch) | |
tree | 89c1f6d2a8d74a8392f410c901c5385f5b6bdda0 /gcc/rust/parse/rust-parse.h | |
parent | ef06769781a76eaa0de6fb500bebb8473e549f7e (diff) | |
download | gcc-425ebda24393eb4f40190228b7ef4b69e6253251.zip gcc-425ebda24393eb4f40190228b7ef4b69e6253251.tar.gz gcc-425ebda24393eb4f40190228b7ef4b69e6253251.tar.bz2 |
type-path-fn: Add location info on start of Fn token
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r-- | gcc/rust/parse/rust-parse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/parse/rust-parse.h b/gcc/rust/parse/rust-parse.h index 5ee7b4e..17440d5 100644 --- a/gcc/rust/parse/rust-parse.h +++ b/gcc/rust/parse/rust-parse.h @@ -139,7 +139,7 @@ private: AST::PathIdentSegment parse_path_ident_segment (); AST::GenericArgs parse_path_generic_args (); AST::GenericArgsBinding parse_generic_args_binding (); - AST::TypePathFunction parse_type_path_function (); + AST::TypePathFunction parse_type_path_function (Location locus); AST::PathExprSegment parse_path_expr_segment (); AST::QualifiedPathInExpression // When given a pratt_parsed_loc, use it as the location of the |