diff options
| author | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-03-19 16:11:45 +0300 |
|---|---|---|
| committer | Vadim Petrochenkov <vadim.petrochenkov@gmail.com> | 2025-05-02 15:59:38 +0300 |
| commit | 3eee3dad5c8aa36a88d6ed2e927c53f2ba174819 (patch) | |
| tree | 8227bede38db3d69f70680cd6424d3808bc259f8 /compiler/rustc_resolve/src/errors.rs | |
| parent | db074a06fe6649f9455dff8ad3eddd60683036f3 (diff) | |
| download | rust-3eee3dad5c8aa36a88d6ed2e927c53f2ba174819.tar.gz rust-3eee3dad5c8aa36a88d6ed2e927c53f2ba174819.zip | |
resolve: Support imports of associated types and glob imports from traits
Diffstat (limited to 'compiler/rustc_resolve/src/errors.rs')
| -rw-r--r-- | compiler/rustc_resolve/src/errors.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/compiler/rustc_resolve/src/errors.rs b/compiler/rustc_resolve/src/errors.rs index e26b300f13e..7fe74378b67 100644 --- a/compiler/rustc_resolve/src/errors.rs +++ b/compiler/rustc_resolve/src/errors.rs @@ -781,22 +781,6 @@ pub(crate) struct CannotGlobImportAllCrates { pub(crate) span: Span, } -#[derive(Diagnostic)] -#[diag(resolve_items_in_traits_are_not_importable)] -pub(crate) struct ItemsInTraitsAreNotImportable { - #[primary_span] - pub(crate) span: Span, -} - -#[derive(Diagnostic)] -#[diag(resolve_is_not_directly_importable, code = E0253)] -pub(crate) struct IsNotDirectlyImportable { - #[primary_span] - #[label] - pub(crate) span: Span, - pub(crate) target: Ident, -} - #[derive(Subdiagnostic)] #[suggestion( resolve_unexpected_res_change_ty_to_const_param_sugg, |
