From: Arthur Cohen Date: Tue, 17 Jan 2023 14:53:00 +0000 (+0100) Subject: rust-item: include rust-expr.h X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d555ef1800b8a6bcbd67fafe87e70dba556650bd;p=thirdparty%2Fgcc.git rust-item: include rust-expr.h gcc/rust/ChangeLog: * ast/rust-item.h (class BlockExpr): Remove forward declaration of class `BlockExpr`. --- diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h index 206887c01e6c..4432ed8fbf8d 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?