From 6e5468e256dd06eb6988a0eca37c86bc52722457 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Mon, 20 Jun 2022 16:50:46 +0200 Subject: hir: Add ConstGenericArg and lower them properly --- 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 5642226..03758d0 100644 --- a/gcc/rust/ast/rust-path.h +++ b/gcc/rust/ast/rust-path.h @@ -189,6 +189,8 @@ public: Kind get_kind () const { return kind; } + std::unique_ptr &get_expression () { return expression; } + std::string as_string () const { switch (get_kind ()) -- cgit v1.1