https://gcc.gnu.org/g:f11429cc4b58c66f8f9ac523f073c7b72c7187fb
commit r16-4758-gf11429cc4b58c66f8f9ac523f073c7b72c7187fb Author: Pierre-Emmanuel Patry <[email protected]> Date: Tue Aug 5 11:43:25 2025 +0200 gccrs: Add missing header inclusion Header relied on transitive header inclusion. gcc/rust/ChangeLog: * ast/rust-ast-formatting.h (RUST_AST_FORMATTING_H): Include required headers directly. Signed-off-by: Pierre-Emmanuel Patry <[email protected]> Diff: --- gcc/rust/ast/rust-ast-formatting.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gcc/rust/ast/rust-ast-formatting.h b/gcc/rust/ast/rust-ast-formatting.h index aace93f7fae8..075c51cfb070 100644 --- a/gcc/rust/ast/rust-ast-formatting.h +++ b/gcc/rust/ast/rust-ast-formatting.h @@ -19,6 +19,9 @@ #ifndef RUST_AST_FORMATTING_H #define RUST_AST_FORMATTING_H +#include "rust-ast.h" +#include "rust-system.h" + namespace Rust { namespace AST {
