Reorder check_item_type diagnostics so they occur next to the corresponding check_well_formed diagnostics
This commit is contained in:
@@ -75,7 +75,7 @@ pub use check::check_abi;
|
||||
|
||||
use std::num::NonZeroU32;
|
||||
|
||||
use check::check_mod_item_types;
|
||||
use entry::check_for_entry_fn;
|
||||
use rustc_data_structures::fx::{FxHashMap, FxHashSet};
|
||||
use rustc_errors::ErrorGuaranteed;
|
||||
use rustc_errors::{pluralize, struct_span_err, Diagnostic, DiagnosticBuilder};
|
||||
@@ -110,7 +110,7 @@ pub fn provide(providers: &mut Providers) {
|
||||
wfcheck::provide(providers);
|
||||
*providers = Providers {
|
||||
adt_destructor,
|
||||
check_mod_item_types,
|
||||
check_for_entry_fn,
|
||||
region_scope_tree,
|
||||
collect_return_position_impl_trait_in_trait_tys,
|
||||
compare_impl_const: compare_impl_item::compare_impl_const_raw,
|
||||
|
||||
Reference in New Issue
Block a user