aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/lint/rust-lint-scan-deadcode.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/lint/rust-lint-scan-deadcode.h')
-rw-r--r--gcc/rust/lint/rust-lint-scan-deadcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/lint/rust-lint-scan-deadcode.h b/gcc/rust/lint/rust-lint-scan-deadcode.h
index 10edbbc..264b753 100644
--- a/gcc/rust/lint/rust-lint-scan-deadcode.h
+++ b/gcc/rust/lint/rust-lint-scan-deadcode.h
@@ -49,7 +49,7 @@ public:
if (live_symbols.find (hirId) == live_symbols.end ())
{
rust_warning_at (function.get_locus (), 0,
- "function is never used: `%s`",
+ "function is never used: %<%s%>",
function.get_function_name ().c_str ());
return;
}