about summary refs log tree commit diff
path: root/compiler/rustc_next_trait_solver/src/lib.rs
diff options
context:
space:
mode:
authorMichael Goulet <michael@errs.io>2024-06-14 15:19:12 -0400
committerMichael Goulet <michael@errs.io>2024-06-16 11:28:47 -0400
commit4c2d888a507cf28ecec80e630b61a2700b9d060d (patch)
tree5fe362a7f131cd23ee56e60f3efe406402af05ff /compiler/rustc_next_trait_solver/src/lib.rs
parent9d207cfbc803e1c8fe263639dffc309941ed1723 (diff)
downloadrust-4c2d888a507cf28ecec80e630b61a2700b9d060d.tar.gz
rust-4c2d888a507cf28ecec80e630b61a2700b9d060d.zip
Add a note
Diffstat (limited to 'compiler/rustc_next_trait_solver/src/lib.rs')
-rw-r--r--compiler/rustc_next_trait_solver/src/lib.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/compiler/rustc_next_trait_solver/src/lib.rs b/compiler/rustc_next_trait_solver/src/lib.rs
index b913a05095c..144caf36ee5 100644
--- a/compiler/rustc_next_trait_solver/src/lib.rs
+++ b/compiler/rustc_next_trait_solver/src/lib.rs
@@ -1,3 +1,9 @@
+//! Crate containing the implementation of the next-generation trait solver.
+//!
+//! This crate may also contain things that are used by the old trait solver,
+//! but were uplifted in the process of making the new trait solver generic.
+//! So if you got to this crate from the old solver, it's totally normal.
+
 pub mod canonicalizer;
 pub mod resolve;
 pub mod solve;