]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: Avoid transitive declaration
authorPierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
Tue, 5 Aug 2025 09:49:21 +0000 (11:49 +0200)
committerArthur Cohen <arthur.cohen@embecosm.com>
Thu, 30 Oct 2025 19:58:35 +0000 (20:58 +0100)
gcc/rust/ChangeLog:

* ast/rust-pattern.h: Include header directly.

Signed-off-by: Pierre-Emmanuel Patry <pierre-emmanuel.patry@embecosm.com>
gcc/rust/ast/rust-pattern.h

index 4945ec4480dd4171489b7653182e2585603d7429..4948159f5376bbd934701875027266dc0e3d6091 100644 (file)
@@ -20,6 +20,7 @@
 #define RUST_AST_PATTERN_H
 
 #include "rust-ast.h"
+#include "rust-path.h"
 
 namespace Rust {
 namespace AST {