diff options
| author | Michael Goulet <michael@errs.io> | 2024-01-24 17:30:02 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-06 02:22:58 +0000 |
| commit | a20421734bb41437598aa3a959ed20441c3fb7f3 (patch) | |
| tree | 35820794577a091774af6559101f32d440da66b8 /compiler/rustc_ast_lowering/src/errors.rs | |
| parent | b2bb51734cd97682cf2124e70ebbb73a3304b6b0 (diff) | |
| download | rust-a20421734bb41437598aa3a959ed20441c3fb7f3.tar.gz rust-a20421734bb41437598aa3a959ed20441c3fb7f3.zip | |
Make async closures directly lower to ClosureKind::CoroutineClosure
Diffstat (limited to 'compiler/rustc_ast_lowering/src/errors.rs')
| -rw-r--r-- | compiler/rustc_ast_lowering/src/errors.rs | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/compiler/rustc_ast_lowering/src/errors.rs b/compiler/rustc_ast_lowering/src/errors.rs index 51bb8a96fad..afd156bd6f1 100644 --- a/compiler/rustc_ast_lowering/src/errors.rs +++ b/compiler/rustc_ast_lowering/src/errors.rs @@ -326,13 +326,6 @@ pub struct MisplacedRelaxTraitBound { pub span: Span, } -#[derive(Diagnostic, Clone, Copy)] -#[diag(ast_lowering_not_supported_for_lifetime_binder_async_closure)] -pub struct NotSupportedForLifetimeBinderAsyncClosure { - #[primary_span] - pub span: Span, -} - #[derive(Diagnostic)] #[diag(ast_lowering_match_arm_with_no_body)] pub struct MatchArmWithNoBody { |
