Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/next_solver.rs')
-rw-r--r--crates/hir-ty/src/next_solver.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/crates/hir-ty/src/next_solver.rs b/crates/hir-ty/src/next_solver.rs
index 8c52a847d1..e91864bd87 100644
--- a/crates/hir-ty/src/next_solver.rs
+++ b/crates/hir-ty/src/next_solver.rs
@@ -1,6 +1,11 @@
//! Things relevant to the next trait solver.
+// Note: in interned types defined in this module, we generally treat the lifetime as advisory
+// and transmute it as needed. This is because no real memory unsafety can be caused from an
+// incorrect lifetime here.
+
pub mod abi;
+mod binder;
mod consts;
mod def_id;
pub mod fold;
@@ -21,6 +26,7 @@ mod structural_normalize;
mod ty;
pub mod util;
+pub use binder::*;
pub use consts::*;
pub use def_id::*;
pub use generic_arg::*;