aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-session-manager.cc
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2021-02-07 15:03:07 +0800
committerSimplyTheOther <simplytheother@gmail.com>2021-02-07 15:03:07 +0800
commit8f97711dce5c48e46a9a64c5517fa6ae10db5e04 (patch)
treec8592dd1ca2a15e5fd1f7c1665f126dbd6c7026c /gcc/rust/rust-session-manager.cc
parent94be91d6159101caa7c560b188bd6c02d8d86d17 (diff)
downloadgcc-8f97711dce5c48e46a9a64c5517fa6ae10db5e04.zip
gcc-8f97711dce5c48e46a9a64c5517fa6ae10db5e04.tar.gz
gcc-8f97711dce5c48e46a9a64c5517fa6ae10db5e04.tar.bz2
General cleanup of AST and macro expansion-related things
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
-rw-r--r--gcc/rust/rust-session-manager.cc14
1 files changed, 8 insertions, 6 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index 1d31135..2d15a59 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -365,7 +365,7 @@ Session::enable_dump (std::string arg)
Location (),
"dumping all is not supported as of now. choose %<lex%>, %<parse%>, "
"%<register_plugins%>, %<injection%>, %<expansion%>, %<resolution%>,"
- " %<target_options%>, or %<hir%>");
+ " %<target_options%>, or %<hir%>");
return false;
}
else if (arg == "lex")
@@ -407,9 +407,11 @@ Session::enable_dump (std::string arg)
}
else if (arg == "")
{
- rust_error_at (Location (), "dump option was not given a name. choose "
- "%<lex%>, %<parse%>, %<register_plugins%>, %<injection%>, "
- "%<expansion%>, %<resolution%>, %<target_options%>, or %<hir%>");
+ rust_error_at (
+ Location (),
+ "dump option was not given a name. choose "
+ "%<lex%>, %<parse%>, %<register_plugins%>, %<injection%>, "
+ "%<expansion%>, %<resolution%>, %<target_options%>, or %<hir%>");
return false;
}
else
@@ -417,8 +419,8 @@ 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%>",
+ "%<register_plugins%>, %<injection%>, %<expansion%>, %<resolution%>,"
+ " %<target_options%>, or %<hir%>",
arg.c_str ());
return false;
}