aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-path.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-path.h')
-rw-r--r--gcc/rust/ast/rust-path.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-path.h b/gcc/rust/ast/rust-path.h
index cdd90e8..5675fda 100644
--- a/gcc/rust/ast/rust-path.h
+++ b/gcc/rust/ast/rust-path.h
@@ -224,7 +224,7 @@ public:
case Kind::Either:
break;
case Kind::Error:
- gcc_unreachable ();
+ rust_unreachable ();
}
}
@@ -254,7 +254,7 @@ public:
switch (get_kind ())
{
case Kind::Error:
- gcc_unreachable ();
+ rust_unreachable ();
case Kind::Either:
return "Ambiguous: " + path.as_string ();
case Kind::Const: