From: Owen Avery Date: Sat, 22 Feb 2025 03:50:51 +0000 (-0500) Subject: gccrs: Remove PathInExpression::get_pattern_node_id X-Git-Tag: basepoints/gcc-16~735 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9724c8af49e642324b366c4cf62fca08304b2d96;p=thirdparty%2Fgcc.git 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 --- 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 {