From d396692534019f1e80b821c9e483164f302679bf Mon Sep 17 00:00:00 2001 From: Philip Herron Date: Thu, 20 Oct 2022 17:59:27 +0100 Subject: Add missing hir lowering to function type-path segments --- gcc/rust/ast/rust-path.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gcc/rust/ast') 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 -- cgit v1.1