aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-item.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h
index dac76f5..b996e17 100644
--- a/gcc/rust/ast/rust-item.h
+++ b/gcc/rust/ast/rust-item.h
@@ -972,6 +972,8 @@ public:
UNLOADED,
};
+ Identifier get_name () const { return module_name; }
+
private:
Identifier module_name;
Location locus;