aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/ast/rust-ast-formatting.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/ast/rust-ast-formatting.cc')
-rw-r--r--gcc/rust/ast/rust-ast-formatting.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-ast-formatting.cc b/gcc/rust/ast/rust-ast-formatting.cc
index 4c13ef0..e6f969f 100644
--- a/gcc/rust/ast/rust-ast-formatting.cc
+++ b/gcc/rust/ast/rust-ast-formatting.cc
@@ -51,7 +51,7 @@ get_string_in_delims (std::string str_input, DelimType delim_type)
default:
return "ERROR-MARK-STRING (delims)";
}
- gcc_unreachable ();
+ rust_unreachable ();
}
std::string
@@ -64,7 +64,7 @@ get_mode_dump_desc (AttrMode mode)
case INNER:
return "inner attributes";
default:
- gcc_unreachable ();
+ rust_unreachable ();
return "";
}
}