https://gcc.gnu.org/g:e57f7470cf36804a0f7d55a2aef7aaf80b723706
commit r16-4760-ge57f7470cf36804a0f7d55a2aef7aaf80b723706 Author: Pierre-Emmanuel Patry <[email protected]> Date: Tue Aug 5 11:49:21 2025 +0200 gccrs: Avoid transitive declaration gcc/rust/ChangeLog: * ast/rust-pattern.h: Include header directly. Signed-off-by: Pierre-Emmanuel Patry <[email protected]> Diff: --- gcc/rust/ast/rust-pattern.h | 1 + 1 file changed, 1 insertion(+) diff --git a/gcc/rust/ast/rust-pattern.h b/gcc/rust/ast/rust-pattern.h index 4945ec4480dd..4948159f5376 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 {
