diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-10-20 17:59:27 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-10-20 17:59:27 +0100 |
commit | d396692534019f1e80b821c9e483164f302679bf (patch) | |
tree | e8a2e8751695106dd6f67ee40447ee8a514e398c /gcc/rust/ast | |
parent | 8e09dfb538db9af6eb312ecd0a5a4e5931db201e (diff) | |
download | gcc-d396692534019f1e80b821c9e483164f302679bf.zip gcc-d396692534019f1e80b821c9e483164f302679bf.tar.gz gcc-d396692534019f1e80b821c9e483164f302679bf.tar.bz2 |
Add missing hir lowering to function type-path segments
Diffstat (limited to 'gcc/rust/ast')
-rw-r--r-- | gcc/rust/ast/rust-path.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-path.h b/gcc/rust/ast/rust-path.h index 80ff960..4643054 100644 --- a/gcc/rust/ast/rust-path.h +++ b/gcc/rust/ast/rust-path.h @@ -898,6 +898,8 @@ public: rust_assert (has_return_type ()); return return_type; } + + Location get_locus () const { return locus; } }; // Segment used in type path with a function argument |