aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.h
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2021-02-06 18:10:57 +0800
committerSimplyTheOther <simplytheother@gmail.com>2021-02-06 18:10:57 +0800
commitfeaa2074d8cece0510c49c45a2456a3f56b02381 (patch)
treea7d9ef0754e55372bcfba938772febac8d1511e8 /gcc/rust/ast/rust-ast.h
parent3571e997473c87dcdb2ca590951acbd698382a33 (diff)
downloadgcc-feaa2074d8cece0510c49c45a2456a3f56b02381.zip
gcc-feaa2074d8cece0510c49c45a2456a3f56b02381.tar.gz
gcc-feaa2074d8cece0510c49c45a2456a3f56b02381.tar.bz2
Added even more debug for cfg predicate checking
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
-rw-r--r--gcc/rust/ast/rust-ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h
index faecfba..0922045 100644
--- a/gcc/rust/ast/rust-ast.h
+++ b/gcc/rust/ast/rust-ast.h
@@ -733,6 +733,7 @@ public:
bool check_cfg_predicate (const Session &) const override
{
// this should never be called - should be converted first
+ rust_assert (false);
return false;
}