diff --git a/gcc/rust/ast/rust-ast-full-decls.h b/gcc/rust/ast/rust-ast-full-decls.h index becda4176c8f..fffeb1b34660 100644 --- a/gcc/rust/ast/rust-ast-full-decls.h +++ b/gcc/rust/ast/rust-ast-full-decls.h @@ -148,7 +148,7 @@ class AsyncBlockExpr; enum class InlineAsmOption; struct AnonConst; struct InlineAsmRegOrRegClass; -struct InlineAsmOperand; +class InlineAsmOperand; struct InlineAsmPlaceHolder; struct InlineAsmTemplatePiece; struct TupleClobber; diff --git a/gcc/rust/hir/tree/rust-hir-full-decls.h b/gcc/rust/hir/tree/rust-hir-full-decls.h index d01535e75d35..7cc031870eba 100644 --- a/gcc/rust/hir/tree/rust-hir-full-decls.h +++ b/gcc/rust/hir/tree/rust-hir-full-decls.h @@ -125,7 +125,8 @@ class AwaitExpr; class AsyncBlockExpr; class InlineAsmReg; class InlineAsmRegClass; -struct InlineAsmRegOrRegClass; +struct AnonConst; +class InlineAsmOperand; class InlineAsm; // rust-stmt.h