https://gcc.gnu.org/g:5c675798ed7c6e753c44b9b7d5cfdc7ce8a4c2bb

commit 5c675798ed7c6e753c44b9b7d5cfdc7ce8a4c2bb
Author: Owen Avery <powerboat9.ga...@gmail.com>
Date:   Fri Feb 21 22:50:51 2025 -0500

    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.ga...@gmail.com>

Diff:
---
 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 0ecd822e50ee..77afc4a30b58 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
   {

Reply via email to