Remove `structured_errors` module

This commit is contained in:
Oli Scherer 2024-07-05 08:59:31 +00:00
parent 2f0368c902
commit af9ab1b026
5 changed files with 2 additions and 5 deletions

View File

@ -9,6 +9,7 @@ use rustc_middle::ty::Ty;
use rustc_span::{symbol::Ident, Span, Symbol};
mod pattern_types;
pub use pattern_types::*;
pub mod wrong_number_of_generic_args;
mod precise_captures;
pub(crate) use precise_captures::*;

View File

@ -1,9 +1,9 @@
use super::IsMethodCall;
use crate::errors::wrong_number_of_generic_args::{GenericArgsInfo, WrongNumberOfGenericArgs};
use crate::hir_ty_lowering::{
errors::prohibit_assoc_item_constraint, ExplicitLateBound, GenericArgCountMismatch,
GenericArgCountResult, GenericArgPosition, GenericArgsLowerer,
};
use crate::structured_errors::{GenericArgsInfo, WrongNumberOfGenericArgs};
use rustc_ast::ast::ParamKindOrd;
use rustc_errors::{
codes::*, struct_span_code_err, Applicability, Diag, ErrorGuaranteed, MultiSpan,

View File

@ -92,7 +92,6 @@ mod errors;
pub mod hir_wf_check;
mod impl_wf_check;
mod outlives;
pub mod structured_errors;
mod variance;
use rustc_hir as hir;

View File

@ -1,3 +0,0 @@
mod wrong_number_of_generic_args;
pub use self::wrong_number_of_generic_args::*;