diff options
| author | bors <bors@rust-lang.org> | 2023-11-17 00:03:54 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-11-17 00:03:54 +0000 |
| commit | f2f526cafab777343b0e24f08d0f5084ac937b8f (patch) | |
| tree | 5cdeb92a742beaa77b2f91f3184676957324cabc /compiler/rustc_parse/src/errors.rs | |
| parent | a57770440f1ebe5b992551d3bcc489ae211908d4 (diff) | |
| parent | a5d7f8bcf2d6658f7c6a5f4408e5d3ef11576605 (diff) | |
| download | rust-f2f526cafab777343b0e24f08d0f5084ac937b8f.tar.gz rust-f2f526cafab777343b0e24f08d0f5084ac937b8f.zip | |
Auto merge of #117996 - matthiaskrgr:rollup-sp48bl4, r=matthiaskrgr
Rollup of 5 pull requests Successful merges: - #117892 (Detect more `=>` typos) - #117959 (Better handle type errors involving `Self` literals) - #117980 (fix: Update CONTRIBUTING.md recommend -> recommended) - #117982 (bootstrap: only show PGO warnings when verbose) - #117990 (Tweak error and move tests) Failed merges: - #117944 (some additional region refactorings) r? `@ghost` `@rustbot` modify labels: rollup
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index 8ab1ec298a1..99e66fddc70 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -2278,9 +2278,8 @@ pub(crate) enum InvalidMutInPattern { #[note(parse_note_mut_pattern_usage)] NonIdent { #[primary_span] - #[suggestion(code = "{pat}", applicability = "machine-applicable")] + #[suggestion(code = "", applicability = "machine-applicable")] span: Span, - pat: String, }, } |
