diff options
| author | Obei Sideg <obei.sideg@gmail.com> | 2022-07-08 13:20:05 +0300 |
|---|---|---|
| committer | Obei Sideg <obei.sideg@gmail.com> | 2022-07-08 13:20:05 +0300 |
| commit | ea46e7a47e67c5ca9c147380d288d0c76451b5c2 (patch) | |
| tree | 33232c0afaa37988427a6d05e5cf16ae60bb2cde /compiler/rustc_resolve/src/lib.rs | |
| parent | 51504dbf01aa7cebe99cd0527f908d4d8ccae1a5 (diff) | |
| download | rust-ea46e7a47e67c5ca9c147380d288d0c76451b5c2.tar.gz rust-ea46e7a47e67c5ca9c147380d288d0c76451b5c2.zip | |
Check if E0530 is `tuple variant` or `tuple struct` to emit suggestion
Diffstat (limited to 'compiler/rustc_resolve/src/lib.rs')
| -rw-r--r-- | compiler/rustc_resolve/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_resolve/src/lib.rs b/compiler/rustc_resolve/src/lib.rs index 28ef384f2c5..e7fa9e4e7d9 100644 --- a/compiler/rustc_resolve/src/lib.rs +++ b/compiler/rustc_resolve/src/lib.rs @@ -234,7 +234,7 @@ enum ResolutionError<'a> { name: Symbol, participle: &'static str, article: &'static str, - shadowed_binding_descr: &'static str, + shadowed_binding: Res, shadowed_binding_span: Span, }, /// Error E0128: generic parameters with a default cannot use forward-declared identifiers. |
