1
Fork 0

remove feature(inline_const_pat)

This commit is contained in:
lcnr 2025-03-14 12:47:08 +01:00
parent 5d85a714b1
commit d4b8fa9e4c
53 changed files with 110 additions and 887 deletions

View file

@ -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)]