diff options
author | Thomas Schwinge <thomas@codesourcery.com> | 2021-04-02 21:16:04 +0200 |
---|---|---|
committer | Philip Herron <herron.philip@googlemail.com> | 2021-04-05 10:42:32 +0100 |
commit | 2e1a7f6a72bb4133e339068191d291ebd2bbfc15 (patch) | |
tree | bad843c9d17c2bb9bc276c1011ce66e6aa9b6820 | |
parent | 868ce1ffdd7242934375753a7fa7c339e391338b (diff) | |
download | gcc-2e1a7f6a72bb4133e339068191d291ebd2bbfc15.zip gcc-2e1a7f6a72bb4133e339068191d291ebd2bbfc15.tar.gz gcc-2e1a7f6a72bb4133e339068191d291ebd2bbfc15.tar.bz2 |
Address '[...]/gcc/rust/lex/rust-lex.cc:433:30: error: too many arguments for format [-Werror=format-extra-args]' diagnostic [#336]
-rw-r--r-- | gcc/rust/lex/rust-lex.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/rust/lex/rust-lex.cc b/gcc/rust/lex/rust-lex.cc index 26745e4..f95a47d 100644 --- a/gcc/rust/lex/rust-lex.cc +++ b/gcc/rust/lex/rust-lex.cc @@ -430,8 +430,7 @@ Lexer::build_token () if (current_char == EOF) { rust_error_at ( - loc, "unexpected EOF while looking for end of comment", - current_char); + loc, "unexpected EOF while looking for end of comment"); break; } |