about summary refs log tree commit diff
path: root/compiler/rustc_traits/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2022-12-08 05:16:39 +0000
committerMichael Goulet <michael@errs.io>2022-12-08 05:16:57 +0000
commit25a6daccab2c8a266bea8a03091175ff21a9a465 (patch)
tree78525f17d85598cfa6d02b2d45400a9eba6055a2 /compiler/rustc_traits/src/lib.rs
parentb36035c20f89e33d5acc4f41d913a13700bd77c2 (diff)
downloadrust-25a6daccab2c8a266bea8a03091175ff21a9a465.tar.gz
rust-25a6daccab2c8a266bea8a03091175ff21a9a465.zip
Move codegen_select_candidate to a rustc_traits
Diffstat (limited to 'compiler/rustc_traits/src/lib.rs')
-rw-r--r--compiler/rustc_traits/src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_traits/src/lib.rs b/compiler/rustc_traits/src/lib.rs
index 0ffa92f1ad5..4041fbc2ffa 100644
--- a/compiler/rustc_traits/src/lib.rs
+++ b/compiler/rustc_traits/src/lib.rs
@@ -18,6 +18,7 @@ mod implied_outlives_bounds;
 mod normalize_erasing_regions;
 mod normalize_projection_ty;
 mod type_op;
+mod codegen;
 
 pub use type_op::{type_op_ascribe_user_type_with_span, type_op_prove_predicate_with_cause};
 
@@ -31,4 +32,5 @@ pub fn provide(p: &mut Providers) {
     normalize_projection_ty::provide(p);
     normalize_erasing_regions::provide(p);
     type_op::provide(p);
+    p.codegen_select_candidate = codegen::codegen_select_candidate;
 }