aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve/rust-rib.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/resolve/rust-rib.h')
-rw-r--r--gcc/rust/resolve/rust-rib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-rib.h b/gcc/rust/resolve/rust-rib.h
index 3228a3c..11a6b56 100644
--- a/gcc/rust/resolve/rust-rib.h
+++ b/gcc/rust/resolve/rust-rib.h
@@ -124,7 +124,7 @@ public:
bool is_ambiguous () const;
- NodeId get_node_id ()
+ NodeId get_node_id () const
{
rust_assert (!is_ambiguous ());
return ids[0];