https://gcc.gnu.org/g:e614201c4307f84e53ef5a06a5e4ad9e5f3a52e7

commit r17-5933-ge614201c4307f84e53ef5a06a5e4ad9e5f3a52e7
Author: Pierre-Emmanuel Patry <[email protected]>
Date:   Fri Oct 30 17:03:33 2026 +0100

    gccrs: Move UtilPath to Rust namespace
    
    gcc/rust/ChangeLog:
    
            * util/rust-util-path.h: Move UtilPath class to Rust namespace.
    
    Signed-off-by: Pierre-Emmanuel Patry <[email protected]>

Diff:
---
 gcc/rust/util/rust-util-path.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gcc/rust/util/rust-util-path.h b/gcc/rust/util/rust-util-path.h
index f612afd9fdac..f597e0aba2be 100644
--- a/gcc/rust/util/rust-util-path.h
+++ b/gcc/rust/util/rust-util-path.h
@@ -21,6 +21,8 @@
 #ifndef RUST_UTIL_PATH_H
 #define RUST_UTIL_PATH_H
 
+namespace Rust {
+
 // Simple path container class to keep segments and opening scope flag together
 // whilst keeping the segment type generic.
 //
@@ -38,4 +40,6 @@ template <typename Segment> struct UtilPath
   const std::vector<Segment> &get_segments () const { return segments; }
 };
 
+} // namespace Rust
+
 #endif

Reply via email to