about summary refs log tree commit diff
path: root/compiler/rustc_monomorphize/src/lib.rs
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2024-11-10 12:04:12 +0100
committerRalf Jung <post@ralfj.de>2024-11-10 12:12:12 +0100
commit23054c5dfcaa3598b0fa59dcb181fc30847681d6 (patch)
tree3acebdcb251e9b6cb620c80fd74da0373c54d670 /compiler/rustc_monomorphize/src/lib.rs
parent668959740f97e7a22ae340742886d330ab63950f (diff)
downloadrust-23054c5dfcaa3598b0fa59dcb181fc30847681d6.tar.gz
rust-23054c5dfcaa3598b0fa59dcb181fc30847681d6.zip
move all mono-time checks into their own folder, and their own query
Diffstat (limited to 'compiler/rustc_monomorphize/src/lib.rs')
-rw-r--r--compiler/rustc_monomorphize/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_monomorphize/src/lib.rs b/compiler/rustc_monomorphize/src/lib.rs
index e92e6978d0f..0cfc4371db5 100644
--- a/compiler/rustc_monomorphize/src/lib.rs
+++ b/compiler/rustc_monomorphize/src/lib.rs
@@ -16,6 +16,7 @@ use rustc_span::ErrorGuaranteed;
 
 mod collector;
 mod errors;
+mod mono_checks;
 mod partitioning;
 mod polymorphize;
 mod util;
@@ -47,4 +48,5 @@ fn custom_coerce_unsize_info<'tcx>(
 pub fn provide(providers: &mut Providers) {
     partitioning::provide(providers);
     polymorphize::provide(providers);
+    mono_checks::provide(providers);
 }