aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/parse/rust-parse.h
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-02-18 08:14:30 +0000
committerGitHub <noreply@github.com>2022-02-18 08:14:30 +0000
commitfbe22e87687c68357430e60361a8a124c81148cc (patch)
tree72b1cf54a3a6c8ed1584defaa2964e47b10428c9 /gcc/rust/parse/rust-parse.h
parent9fb06d66cef70584e7aa2fa3a6ad22ef7def6b84 (diff)
parent0e15b89839170cb6c9115cfc57310af2170423a0 (diff)
downloadgcc-fbe22e87687c68357430e60361a8a124c81148cc.zip
gcc-fbe22e87687c68357430e60361a8a124c81148cc.tar.gz
gcc-fbe22e87687c68357430e60361a8a124c81148cc.tar.bz2
Merge #940
940: Add more location info to AST structures r=CohenArthur a=CohenArthur Two classes still remain locus-less: `TupleStructItems` and `TuplePatternItems` as I do not believe they are constructed at the moment. Co-authored-by: Arthur Cohen <arthur.cohen@embecosm.com>
Diffstat (limited to 'gcc/rust/parse/rust-parse.h')
-rw-r--r--gcc/rust/parse/rust-parse.h2
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