Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #100708 - matthiaskrgr:rollup-vl0olnj, r=matthiaskrgr
Rollup of 9 pull requests Successful merges: - #97962 (Make must_not_suspend lint see through references when drop tracking is enabled) - #99966 (avoid assertion failures in try_to_scalar_int) - #100637 (Improving Fuchsia rustc support documentation) - #100643 (Point at a type parameter shadowing another type) - #100651 (Migrations for rustc_expand transcribe.rs) - #100669 (Attribute cleanups) - #100670 (Fix documentation of rustc_parse::parser::Parser::parse_stmt_without_recovery) - #100674 (Migrate lint reports in typeck::check_unused to LintDiagnostic) - #100688 (`ty::Error` does not match other types for region constraints) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
bors 2022-08-18
parent 4b0c969 · parent 7496627 · commit 1fe4d84
-rw-r--r--bench_data/glorious_old_parser2
1 files changed, 1 insertions, 1 deletions
diff --git a/bench_data/glorious_old_parser b/bench_data/glorious_old_parser
index 7e900dfeb1..764893daa1 100644
--- a/bench_data/glorious_old_parser
+++ b/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 {