diff options
| author | Michael Goulet <michael@errs.io> | 2024-09-23 18:07:42 -0400 |
|---|---|---|
| committer | Michael Goulet <michael@errs.io> | 2024-09-24 10:12:05 -0400 |
| commit | cfb8419900c1511b09320d70105128ce13de6e71 (patch) | |
| tree | 18639f6acb0e7039aea584d3d77bde7e2c7cfa68 /compiler/rustc_hir_analysis/src/coherence/mod.rs | |
| parent | 11e760b7f4e4aaa11bf51a64d4bb7f1171f6e466 (diff) | |
| download | rust-cfb8419900c1511b09320d70105128ce13de6e71.tar.gz rust-cfb8419900c1511b09320d70105128ce13de6e71.zip | |
Separate collection of crate-local inherent impls from error reporting
Diffstat (limited to 'compiler/rustc_hir_analysis/src/coherence/mod.rs')
| -rw-r--r-- | compiler/rustc_hir_analysis/src/coherence/mod.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compiler/rustc_hir_analysis/src/coherence/mod.rs b/compiler/rustc_hir_analysis/src/coherence/mod.rs index 185f3176f07..b25406583f6 100644 --- a/compiler/rustc_hir_analysis/src/coherence/mod.rs +++ b/compiler/rustc_hir_analysis/src/coherence/mod.rs @@ -124,7 +124,10 @@ fn enforce_empty_impls_for_marker_traits( pub(crate) fn provide(providers: &mut Providers) { use self::builtin::coerce_unsized_info; - use self::inherent_impls::{crate_incoherent_impls, crate_inherent_impls, inherent_impls}; + use self::inherent_impls::{ + crate_incoherent_impls, crate_inherent_impls, crate_inherent_impls_validity_check, + inherent_impls, + }; use self::inherent_impls_overlap::crate_inherent_impls_overlap_check; use self::orphan::orphan_check_impl; @@ -133,6 +136,7 @@ pub(crate) fn provide(providers: &mut Providers) { crate_inherent_impls, crate_incoherent_impls, inherent_impls, + crate_inherent_impls_validity_check, crate_inherent_impls_overlap_check, coerce_unsized_info, orphan_check_impl, |
