aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-01-17 15:53:00 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2023-02-08 12:02:40 +0100
commitd555ef1800b8a6bcbd67fafe87e70dba556650bd (patch)
treeb1e4aae2955277713b5f3c67fbab3eb13d841eac /gcc
parent7f66312db45e3e157123108934f6cf0c71a1c235 (diff)
downloadgcc-d555ef1800b8a6bcbd67fafe87e70dba556650bd.zip
gcc-d555ef1800b8a6bcbd67fafe87e70dba556650bd.tar.gz
gcc-d555ef1800b8a6bcbd67fafe87e70dba556650bd.tar.bz2
rust-item: include rust-expr.h
gcc/rust/ChangeLog: * ast/rust-item.h (class BlockExpr): Remove forward declaration of class `BlockExpr`.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-item.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-item.h b/gcc/rust/ast/rust-item.h
index 206887c..4432ed8 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?