diff options
author | Jakub Dupak <dev@jakubdupak.com> | 2022-11-06 21:23:12 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-02-21 12:36:47 +0100 |
commit | c4c859bff8d0fa3e7be4b83511d7607089e7d7d7 (patch) | |
tree | 86348dff733f92d15319b6fb855bffeb17e0a1e4 | |
parent | 971d16cbfadeb9a6688d64f724def2ed0aa886d6 (diff) | |
download | gcc-c4c859bff8d0fa3e7be4b83511d7607089e7d7d7.zip gcc-c4c859bff8d0fa3e7be4b83511d7607089e7d7d7.tar.gz gcc-c4c859bff8d0fa3e7be4b83511d7607089e7d7d7.tar.bz2 |
gccrs: ast: Dump never type
gcc/rust/ChangeLog:
* ast/rust-ast-dump.cc (Dump::visit): Add missing never type visitor.
Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
-rw-r--r-- | gcc/rust/ast/rust-ast-dump.cc | 7 |
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) |