From: Pierre-Emmanuel Patry Date: Tue, 5 Aug 2025 09:49:21 +0000 (+0200) Subject: gccrs: Avoid transitive declaration X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e57f7470cf36804a0f7d55a2aef7aaf80b723706;p=thirdparty%2Fgcc.git gccrs: Avoid transitive declaration gcc/rust/ChangeLog: * ast/rust-pattern.h: Include header directly. Signed-off-by: Pierre-Emmanuel Patry --- diff --git a/gcc/rust/ast/rust-pattern.h b/gcc/rust/ast/rust-pattern.h index 4945ec4480d..4948159f537 100644 --- a/gcc/rust/ast/rust-pattern.h +++ b/gcc/rust/ast/rust-pattern.h @@ -20,6 +20,7 @@ #define RUST_AST_PATTERN_H #include "rust-ast.h" +#include "rust-path.h" namespace Rust { namespace AST {