From: jjasmine <[email protected]>
gcc/rust/ChangeLog:
* expand/rust-macro-builtins-asm.h (enum InlineAsmParseError):
Add WARN_UNUSED_RESULT parse error
(enum WARN_UNUSED_RESULT): Likewise.
Signed-off-by: badumbatish <[email protected]>
---
gcc/rust/expand/rust-macro-builtins-asm.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/gcc/rust/expand/rust-macro-builtins-asm.h
b/gcc/rust/expand/rust-macro-builtins-asm.h
index 32a8d0ba030..d3ca9340156 100644
--- a/gcc/rust/expand/rust-macro-builtins-asm.h
+++ b/gcc/rust/expand/rust-macro-builtins-asm.h
@@ -5,9 +5,10 @@
#include "expected.h"
#include "rust-macro-invoc-lexer.h"
#include "rust/ast/rust-expr.h"
+#include "system.h"
namespace Rust {
-enum InlineAsmParseError
+enum WARN_UNUSED_RESULT InlineAsmParseError
{
// Enum for InlineAsmParseError
--
2.45.2