From: Pierre-Emmanuel Patry <[email protected]>
gcc/rust/ChangeLog:
* util/rust-util-path.h: Move UtilPath class to Rust namespace.
Signed-off-by: Pierre-Emmanuel Patry <[email protected]>
Tested on x86_64-pc-linux-gnu.
---
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 f612afd9fda..f597e0aba2b 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
--
2.55.0