aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2025-02-21 22:50:51 -0500
committerPhilip Herron <philip.herron@embecosm.com>2025-02-23 19:52:43 +0000
commit5c675798ed7c6e753c44b9b7d5cfdc7ce8a4c2bb (patch)
treecc40d3e3eea507a679c19bf4383e6964eef33f13 /gcc
parent35afe3943cc03ce35b3529a23f4fb9e3764c4c81 (diff)
downloadgcc-5c675798ed7c6e753c44b9b7d5cfdc7ce8a4c2bb.zip
gcc-5c675798ed7c6e753c44b9b7d5cfdc7ce8a4c2bb.tar.gz
gcc-5c675798ed7c6e753c44b9b7d5cfdc7ce8a4c2bb.tar.bz2
Remove PathInExpression::get_pattern_node_id
gcc/rust/ChangeLog: * ast/rust-path.h (PathInExpression::get_pattern_node_id): Remove. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-path.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-path.h b/gcc/rust/ast/rust-path.h
index 0ecd822..77afc4a 100644
--- a/gcc/rust/ast/rust-path.h
+++ b/gcc/rust/ast/rust-path.h
@@ -729,8 +729,6 @@ public:
outer_attrs = std::move (new_attrs);
}
- NodeId get_pattern_node_id () const { return get_node_id (); }
-
PathExprSegment &get_final_segment () { return get_segments ().back (); }
const PathExprSegment &get_final_segment () const
{