diff options
| author | lcnr <rust@lcnr.de> | 2025-03-14 12:47:08 +0100 |
|---|---|---|
| committer | lcnr <rust@lcnr.de> | 2025-03-21 09:35:31 +0100 |
| commit | d4b8fa9e4c04f3afb7daad03d6719605a8c4bb90 (patch) | |
| tree | 5008bd6e2b3e6bb2086bb5959eb4b7bfa2c951f6 /compiler/rustc_parse/src/errors.rs | |
| parent | 5d85a714b10a9121d2ec5115f39e904174f804e1 (diff) | |
| download | rust-d4b8fa9e4c04f3afb7daad03d6719605a8c4bb90.tar.gz rust-d4b8fa9e4c04f3afb7daad03d6719605a8c4bb90.zip | |
remove `feature(inline_const_pat)`
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index e090d9cf760..7f320812658 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -2787,17 +2787,6 @@ pub(crate) enum UnexpectedExpressionInPatternSugg { /// The statement's block's indentation. indentation: String, }, - - #[multipart_suggestion( - parse_unexpected_expr_in_pat_inline_const_sugg, - applicability = "maybe-incorrect" - )] - InlineConst { - #[suggestion_part(code = "const {{ ")] - start_span: Span, - #[suggestion_part(code = " }}")] - end_span: Span, - }, } #[derive(Diagnostic)] |
