public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Fix -frust-dump-* error messages
@ 2023-05-02  7:11 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2023-05-02  7:11 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:e68922cb6402ebba9b2ed1edb14f5ba8755c4fa5

commit e68922cb6402ebba9b2ed1edb14f5ba8755c4fa5
Author: Owen Avery <powerboat9.gamer@gmail.com>
Date:   Wed Apr 26 08:42:36 2023 -0400

    Fix -frust-dump-* error messages
    
    gcc/rust/ChangeLog:
    
            * rust-session-manager.cc
            (Session::enable_dump): Fix error messages.
    
    Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>

Diff:
---
 gcc/rust/rust-session-manager.cc | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index 565e8b3448a..e537b413d16 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -283,9 +283,10 @@ Session::enable_dump (std::string arg)
     {
       rust_error_at (
 	Location (),
-	"dump option was not given a name. choose %<lex%>, "
-	"%<register_plugins%>, %<injection%>, %<expansion%>, %<resolution%>,"
-	" %<target_options%>, %<hir%>, or %<all%>");
+	"dump option was not given a name. choose %<lex%>, %<ast-pretty%>, "
+	"%<ast-tokenstream%>, %<register_plugins%>, %<injection%>, "
+	"%<expansion%>, %<resolution%>, %<target_options%>, %<hir%>, "
+	"%<hir-pretty%>, or %<all%>");
       return false;
     }
 
@@ -337,9 +338,10 @@ Session::enable_dump (std::string arg)
     {
       rust_error_at (
 	Location (),
-	"dump option %qs was unrecognised. choose %<lex%>, %<parse%>, "
-	"%<register_plugins%>, %<injection%>, %<expansion%>, %<resolution%>,"
-	" %<target_options%>, or %<hir%>",
+	"dump option %qs was unrecognised. choose %<lex%>, %<ast-pretty%>, "
+	"%<ast-tokenstream%>, %<register_plugins%>, %<injection%>, "
+	"%<expansion%>, %<resolution%>, %<target_options%>, %<hir%>, "
+	"%<hir-pretty%>, or %<all%>",
 	arg.c_str ());
       return false;
     }

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

only message in thread, other threads:[~2023-05-02  7:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-02  7:11 [gcc/devel/rust/master] Fix -frust-dump-* error messages 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).