diff options
| author | Boxy <supbscripter@gmail.com> | 2022-10-27 21:48:41 +0100 |
|---|---|---|
| committer | Boxy <supbscripter@gmail.com> | 2022-10-27 21:48:47 +0100 |
| commit | c00ff9c4d01e8ba64bf03aaf3bb7940874d3e094 (patch) | |
| tree | 3a048102d81033d88e258a103fe67f2d6479a9cc /compiler/rustc_hir_analysis/src/errors.rs | |
| parent | 0da281b6068a7d889ae89a9bd8991284cc9b7535 (diff) | |
| download | rust-c00ff9c4d01e8ba64bf03aaf3bb7940874d3e094.tar.gz rust-c00ff9c4d01e8ba64bf03aaf3bb7940874d3e094.zip | |
DoIt
Diffstat (limited to 'compiler/rustc_hir_analysis/src/errors.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/errors.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/compiler/rustc_hir_analysis/src/errors.rs b/compiler/rustc_hir_analysis/src/errors.rs index bd0c1f5dd10..c3bfd0437ad 100644 --- a/compiler/rustc_hir_analysis/src/errors.rs +++ b/compiler/rustc_hir_analysis/src/errors.rs @@ -270,3 +270,10 @@ pub struct ConstBoundForNonConstTrait { #[primary_span] pub span: Span, } + +#[derive(Diagnostic)] +#[diag(hir_analysis_self_in_impl_self)] +pub struct SelfInImplSelf { + #[primary_span] + pub span: Span, +} |
