[gdb/rust] Add missing _() for error call

In commit 1390b65a1b ("[gdb/rust] Fix literal truncation") I forgot to add
_() around a string using in an error call.

Fix this by adding the missing _().

Tested on x86_64-linux.
This commit is contained in:
Tom de Vries
2022-06-07 11:22:56 +02:00
parent e97198fdcd
commit b11f3dbb88

View File

@@ -1027,7 +1027,7 @@ rust_parser::lex_number ()
const char *trailer;
value = strtoulst (number.c_str () + offset, &trailer, radix);
if (*trailer != '\0')
error ("Integer literal is too large");
error (_("Integer literal is too large"));
if (implicit_i32 && value >= ((uint64_t) 1) << 31)
type = get_type ("i64");