remove feature(inline_const_pat)
This commit is contained in:
parent
5d85a714b1
commit
d4b8fa9e4c
53 changed files with 110 additions and 887 deletions
|
@ -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)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue