aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/resolve
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2023-07-31 16:13:25 +0200
committerCohenArthur <arthur.cohen@embecosm.com>2023-08-01 15:37:57 +0000
commit4f1838b88062ae639554c18d46182731f51d4087 (patch)
tree13c8d8c2019f64533bc6ac7f54dc555cf78de5af /gcc/rust/resolve
parentd9e87e719f928825d3f41d795741b9c1ce3690f3 (diff)
downloadgcc-4f1838b88062ae639554c18d46182731f51d4087.zip
gcc-4f1838b88062ae639554c18d46182731f51d4087.tar.gz
gcc-4f1838b88062ae639554c18d46182731f51d4087.tar.bz2
forever-stack: Use rust_assert instead of assert
This causes complaints by our GCC 4.8 builder. gcc/rust/ChangeLog: * resolve/rust-forever-stack.hxx: assert() -> rust_assert()
Diffstat (limited to 'gcc/rust/resolve')
-rw-r--r--gcc/rust/resolve/rust-forever-stack.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/resolve/rust-forever-stack.hxx b/gcc/rust/resolve/rust-forever-stack.hxx
index 2685f1d1..c961e2b 100644
--- a/gcc/rust/resolve/rust-forever-stack.hxx
+++ b/gcc/rust/resolve/rust-forever-stack.hxx
@@ -83,7 +83,7 @@ template <Namespace N>
void
ForeverStack<N>::pop ()
{
- assert (!cursor ().is_root ());
+ rust_assert (!cursor ().is_root ());
rust_debug ("popping link");