aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-session-manager.cc
diff options
context:
space:
mode:
authorSimplyTheOther <simplytheother@gmail.com>2020-09-25 22:47:10 +0800
committerPhilip Herron <philip.herron@embecosm.com>2020-11-28 21:13:21 +0000
commit41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb (patch)
tree82793a1b58ba8507a220a4173896e2b88c43c612 /gcc/rust/rust-session-manager.cc
parent636b1630184a37a9d5647cff19103bca34c8f125 (diff)
downloadgcc-41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb.zip
gcc-41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb.tar.gz
gcc-41b1bad402aa3dcb3657c75e0c93e2a114d2e2cb.tar.bz2
Added more error_at formatting fixes
Debug for parsing failure with partially consolidated lifetime parsing More debug for parsing failure Corrected the apparent lack of skip_token in parse_lifetime_param()
Diffstat (limited to 'gcc/rust/rust-session-manager.cc')
-rw-r--r--gcc/rust/rust-session-manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/rust-session-manager.cc b/gcc/rust/rust-session-manager.cc
index d76d816..dbc40ac 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -383,7 +383,7 @@ Session::enable_dump (std::string arg)
else
{
rust_error_at (Location (),
- "dump option %<%s%> was unrecognised. choose %<lex%>, "
+ "dump option %qs was unrecognised. choose %<lex%>, "
"%<parse%>, or %<target_options%>",
arg.c_str ());
return false;