Async closures will move params into the future always
This commit is contained in:
parent
8bb1eaee64
commit
f1ee076f81
10 changed files with 41 additions and 89 deletions
|
@ -145,14 +145,6 @@ pub struct ClosureCannotBeStatic {
|
|||
pub fn_decl_span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic, Clone, Copy)]
|
||||
#[help]
|
||||
#[diag(ast_lowering_async_non_move_closure_not_supported, code = "E0708")]
|
||||
pub struct AsyncNonMoveClosureNotSupported {
|
||||
#[primary_span]
|
||||
pub fn_decl_span: Span,
|
||||
}
|
||||
|
||||
#[derive(Diagnostic, Clone, Copy)]
|
||||
#[diag(ast_lowering_functional_record_update_destructuring_assignment)]
|
||||
pub struct FunctionalRecordUpdateDestructuringAssignment {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue