aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-ast.h')
-rw-r--r--gcc/rust/ast/rust-ast.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-ast.h b/gcc/rust/ast/rust-ast.h
index 520baae..85dae48 100644
--- a/gcc/rust/ast/rust-ast.h
+++ b/gcc/rust/ast/rust-ast.h
@@ -1887,7 +1887,7 @@ public:
return type == nullptr;
}
- gcc_unreachable ();
+ rust_unreachable ();
return true;
}
@@ -1913,7 +1913,7 @@ public:
return "Type: " + type->as_string ();
}
- gcc_unreachable ();
+ rust_unreachable ();
return "";
}
};