mirror of https://github.com/rust-lang/rust.git
Remove `structured_errors` module
This commit is contained in:
parent
2f0368c902
commit
af9ab1b026
|
@ -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::*;
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
mod wrong_number_of_generic_args;
|
||||
|
||||
pub use self::wrong_number_of_generic_args::*;
|
Loading…
Reference in New Issue