aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorJakub Dupak <dev@jakubdupak.com>2022-11-06 21:23:12 +0100
committerJakub Dupak <dev@jakubdupak.com>2022-11-16 16:26:47 +0100
commit496ed46e0ab377d89c39ff85c104fd26f8e987bb (patch)
tree9ec7e6afd1bd960a25f990bd855de1755f81fc46 /gcc
parent20bf6802ba7b964ec1e570dd4fec971fa3d678f6 (diff)
downloadgcc-496ed46e0ab377d89c39ff85c104fd26f8e987bb.zip
gcc-496ed46e0ab377d89c39ff85c104fd26f8e987bb.tar.gz
gcc-496ed46e0ab377d89c39ff85c104fd26f8e987bb.tar.bz2
ast: Dump never type
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc')
-rw-r--r--gcc/rust/ast/rust-ast-dump.cc7
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/rust/ast/rust-ast-dump.cc b/gcc/rust/ast/rust-ast-dump.cc
index e6d6e07..3af4895 100644
--- a/gcc/rust/ast/rust-ast-dump.cc
+++ b/gcc/rust/ast/rust-ast-dump.cc
@@ -1585,7 +1585,12 @@ Dump::visit (TupleType &)
void
Dump::visit (NeverType &)
-{}
+{
+ // Syntax:
+ // !
+
+ stream << '!';
+}
void
Dump::visit (RawPointerType &type)