aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorArthur Cohen <arthur.cohen@embecosm.com>2022-02-16 12:10:07 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2022-02-16 12:10:07 +0100
commit8848a76f83c7f61004689600b00f0565d5e426aa (patch)
tree7bd49f2cc6cd36bacfb703bedebe05e562e9cb11 /gcc
parent330b265134afd12e06884205e7b77334393864b8 (diff)
downloadgcc-8848a76f83c7f61004689600b00f0565d5e426aa.zip
gcc-8848a76f83c7f61004689600b00f0565d5e426aa.tar.gz
gcc-8848a76f83c7f61004689600b00f0565d5e426aa.tar.bz2
rust-cfg: Quote option name when erroring out
Diffstat (limited to 'gcc')
-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 5529fbf..ea933d63 100644
--- a/gcc/rust/rust-session-manager.cc
+++ b/gcc/rust/rust-session-manager.cc
@@ -449,7 +449,7 @@ Session::handle_cfg_option (const std::string &input)
if (s == ERROR)
{
rust_error_at (Location (),
- "invalid --frust-cfg= option expected %<key%> or "
+ "invalid %<-frust-cfg=option%> expected %<key%> or "
"key=%<value%> got %<%s%>",
input.c_str ());
return false;