From 8848a76f83c7f61004689600b00f0565d5e426aa Mon Sep 17 00:00:00 2001 From: Arthur Cohen Date: Wed, 16 Feb 2022 12:10:07 +0100 Subject: rust-cfg: Quote option name when erroring out --- gcc/rust/rust-session-manager.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gcc') 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 % or " + "invalid %<-frust-cfg=option%> expected % or " "key=% got %<%s%>", input.c_str ()); return false; -- cgit v1.1