public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] ast: Dump never type
@ 2022-11-18 23:33 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-11-18 23:33 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:496ed46e0ab377d89c39ff85c104fd26f8e987bb

commit 496ed46e0ab377d89c39ff85c104fd26f8e987bb
Author: Jakub Dupak <dev@jakubdupak.com>
Date:   Sun Nov 6 21:23:12 2022 +0100

    ast: Dump never type
    
    Signed-off-by: Jakub Dupak <dev@jakubdupak.com>

Diff:
---
 gcc/rust/ast/rust-ast-dump.cc | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gcc/rust/ast/rust-ast-dump.cc b/gcc/rust/ast/rust-ast-dump.cc
index e6d6e070709..3af4895269c 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)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-11-18 23:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-11-18 23:33 [gcc/devel/rust/master] ast: Dump never type Thomas Schwinge

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).