From 9724c8af49e642324b366c4cf62fca08304b2d96 Mon Sep 17 00:00:00 2001 From: Owen Avery Date: Fri, 21 Feb 2025 22:50:51 -0500 Subject: [PATCH] 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 --- gcc/rust/ast/rust-path.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/gcc/rust/ast/rust-path.h b/gcc/rust/ast/rust-path.h index c2537034b61..805be8e91f7 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 { -- 2.47.2