From 1c57244dbc0550ababfb4bf6b12511cede580072 Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Tue, 17 Jan 2023 15:53:00 +0100 Subject: [PATCH] gccrs: rust-item: include rust-expr.h gcc/rust/ChangeLog: * ast/rust-item.h (class BlockExpr): Remove forward declaration of class `BlockExpr`. --- gcc/rust/ast/rust-item.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h index 37ed2beabfc2..51ed815c7001 100644 --- a/gcc/rust/ast/rust-item.h +++ b/gcc/rust/ast/rust-item.h @@ -22,11 +22,11 @@ #include "rust-ast.h" #include "rust-path.h" #include "rust-common.h" +#include "rust-expr.h" namespace Rust { namespace AST { // forward decls -class BlockExpr; class TypePath; // TODO: inline? -- 2.47.2