diff options
Diffstat (limited to 'gcc/rust/ast/rust-ast.cc')
-rw-r--r-- | gcc/rust/ast/rust-ast.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/ast/rust-ast.cc b/gcc/rust/ast/rust-ast.cc index 1319b7d..4e24f1d 100644 --- a/gcc/rust/ast/rust-ast.cc +++ b/gcc/rust/ast/rust-ast.cc @@ -225,7 +225,7 @@ Visibility::as_string () const case PUB_IN_PATH: return std::string ("pub(in ") + in_path.as_string () + std::string (")"); default: - gcc_unreachable (); + rust_unreachable (); } } @@ -623,7 +623,7 @@ UseTreeGlob::as_string () const // some kind of error return "ERROR-PATH"; } - gcc_unreachable (); + rust_unreachable (); } std::string |