]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
rust-item: include rust-expr.h
authorArthur Cohen <arthur.cohen@embecosm.com>
Tue, 17 Jan 2023 14:53:00 +0000 (15:53 +0100)
committerArthur Cohen <arthur.cohen@embecosm.com>
Wed, 8 Feb 2023 11:02:40 +0000 (12:02 +0100)
gcc/rust/ChangeLog:

* ast/rust-item.h (class BlockExpr): Remove forward declaration of
class `BlockExpr`.

gcc/rust/ast/rust-item.h

index 206887c01e6c6a6d8b998e70b07e605ae9473ba1..4432ed8fbf8dbffb16fd0b28c9b9aa71654b493f 100644 (file)
 #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?