aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gcc/rust/expand/rust-macro-expand.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/expand/rust-macro-expand.cc b/gcc/rust/expand/rust-macro-expand.cc
index de24504..591d96c 100644
--- a/gcc/rust/expand/rust-macro-expand.cc
+++ b/gcc/rust/expand/rust-macro-expand.cc
@@ -3609,9 +3609,9 @@ MacroExpander::expand_cfg_macro (AST::MacroInvocData &invoc)
bool result = invoc.get_meta_items ()[0]->check_cfg_predicate (session);
if (result)
- return AST::Literal ("true", AST::Literal::BOOL);
+ return AST::Literal ("true", AST::Literal::BOOL, CORETYPE_BOOL);
else
- return AST::Literal ("false", AST::Literal::BOOL);
+ return AST::Literal ("false", AST::Literal::BOOL, CORETYPE_BOOL);
}
AST::ASTFragment