aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust
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-04-06 10:47:22 +0200
commit1c57244dbc0550ababfb4bf6b12511cede580072 (patch)
treeb95986d997f9050a2e48df8054476769bcaee7aa /gcc/rust
parentfa7b3a2f07f56ba7c36d854989b52183027db04e (diff)
downloadgcc-1c57244dbc0550ababfb4bf6b12511cede580072.zip
gcc-1c57244dbc0550ababfb4bf6b12511cede580072.tar.gz
gcc-1c57244dbc0550ababfb4bf6b12511cede580072.tar.bz2
gccrs: 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/rust')
-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 37ed2be..51ed815 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?