Skip to content

Commit 733db62

Browse files
Merge #931
931: rust-cfg: Quote option name when erroring out r=philberty a=CohenArthur Removes a warning generated by `-Wformat-diag` Co-authored-by: Arthur Cohen <[email protected]>
2 parents 330b265 + 8848a76 commit 733db62

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)