Skip to content

Commit

Permalink
Remove structured_errors module
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Jul 8, 2024
1 parent 2f0368c commit af9ab1b
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 1 addition & 0 deletions compiler/rustc_hir_analysis/src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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::*;
Expand Down
Original file line number Diff line number Diff line change
@@ -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,
Expand Down
1 change: 0 additions & 1 deletion compiler/rustc_hir_analysis/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
3 changes: 0 additions & 3 deletions compiler/rustc_hir_analysis/src/structured_errors.rs

This file was deleted.

0 comments on commit af9ab1b

Please sign in to comment.