aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2025-02-21 22:50:51 -0500
committerArthur Cohen <arthur.cohen@embecosm.com>2025-03-24 13:07:09 +0100
commit9724c8af49e642324b366c4cf62fca08304b2d96 (patch)
tree651ebca68508931bab589657adb4acbcf86d2578 /gcc
parenta4d2184f4305f631eec342b0b5e7fb31981cd31d (diff)
downloadgcc-9724c8af49e642324b366c4cf62fca08304b2d96.zip
gcc-9724c8af49e642324b366c4cf62fca08304b2d96.tar.gz
gcc-9724c8af49e642324b366c4cf62fca08304b2d96.tar.bz2
gccrs: 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 c253703..805be8e 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
{