]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
gccrs: 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>
Thu, 6 Apr 2023 08:47:22 +0000 (10:47 +0200)
gcc/rust/ChangeLog:

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

gcc/rust/ast/rust-item.h

index 37ed2beabfc287d38dcc6368a75c0c4d5bfbcd25..51ed815c700156d6e18fe9318c7a7604e77e5496 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?