From: Jakub Dupak Date: Sun, 6 Nov 2022 20:23:12 +0000 (+0100) Subject: gccrs: ast: Dump never type X-Git-Tag: basepoints/gcc-14~977 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c4c859bff8d0fa3e7be4b83511d7607089e7d7d7;p=thirdparty%2Fgcc.git 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 --- diff --git a/gcc/rust/ast/rust-ast-dump.cc b/gcc/rust/ast/rust-ast-dump.cc index e6d6e0707091..3af4895269c6 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)