summaryrefslogtreecommitdiffstats
path: root/src/tools/rust-analyzer/bench_data
diff options
context:
space:
mode:
Diffstat (limited to 'src/tools/rust-analyzer/bench_data')
-rw-r--r--src/tools/rust-analyzer/bench_data/glorious_old_parser2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/rust-analyzer/bench_data/glorious_old_parser b/src/tools/rust-analyzer/bench_data/glorious_old_parser
index 7e900dfeb..764893daa 100644
--- a/src/tools/rust-analyzer/bench_data/glorious_old_parser
+++ b/src/tools/rust-analyzer/bench_data/glorious_old_parser
@@ -1988,7 +1988,7 @@ impl<'a> Parser<'a> {
err.span_suggestion(
span,
"declare the type after the parameter binding",
- String::from("<identifier>: <type>"),
+ "<identifier>: <type>",
Applicability::HasPlaceholders,
);
} else if require_name && is_trait_item {