diff options
| author | Michael Goulet <michael@errs.io> | 2024-02-20 16:09:03 +0000 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-02-20 16:09:09 +0000 |
| commit | 9c8b107955194b80941ce825646bc2f34edc5dd5 (patch) | |
| tree | d41b9863c5233030cd9536ceae387d4a552a2169 /compiler/rustc_parse/src/errors.rs | |
| parent | 29f87ade9d78d233e85ef6ca2d6153d0d4fd38d6 (diff) | |
| download | rust-9c8b107955194b80941ce825646bc2f34edc5dd5.tar.gz rust-9c8b107955194b80941ce825646bc2f34edc5dd5.zip | |
Support async trait bounds in macros
Diffstat (limited to 'compiler/rustc_parse/src/errors.rs')
| -rw-r--r-- | compiler/rustc_parse/src/errors.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_parse/src/errors.rs b/compiler/rustc_parse/src/errors.rs index fde67ac089a..2d4447a42c2 100644 --- a/compiler/rustc_parse/src/errors.rs +++ b/compiler/rustc_parse/src/errors.rs @@ -2975,3 +2975,10 @@ pub(crate) struct ArrayIndexInOffsetOf(#[primary_span] pub Span); #[derive(Diagnostic)] #[diag(parse_invalid_offset_of)] pub(crate) struct InvalidOffsetOf(#[primary_span] pub Span); + +#[derive(Diagnostic)] +#[diag(parse_async_impl)] +pub(crate) struct AsyncImpl { + #[primary_span] + pub span: Span, +} |
