Skip to content

Commit 8848a76

Browse files
committed
rust-cfg: Quote option name when erroring out
1 parent 330b265 commit 8848a76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gcc/rust/rust-session-manager.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@ Session::handle_cfg_option (const std::string &input)
449449
if (s == ERROR)
450450
{
451451
rust_error_at (Location (),
452-
"invalid --frust-cfg= option expected %<key%> or "
452+
"invalid %<-frust-cfg=option%> expected %<key%> or "
453453
"key=%<value%> got %<%s%>",
454454
input.c_str ());
455455
return false;

0 commit comments

Comments
 (0)