From 2e1a7f6a72bb4133e339068191d291ebd2bbfc15 Mon Sep 17 00:00:00 2001 From: Thomas Schwinge Date: Fri, 2 Apr 2021 21:16:04 +0200 Subject: Address '[...]/gcc/rust/lex/rust-lex.cc:433:30: error: too many arguments for format [-Werror=format-extra-args]' diagnostic [#336] --- gcc/rust/lex/rust-lex.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'gcc') 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; } -- cgit v1.1