svlog: move queries into private module
@@ -254,6 +254,10 @@ pub trait BaseContext<'gcx>: salsa::Database + DiagEmitter {
}
}
+/// The queries implemented by the compiler.
+pub(super) mod queries {
+ use super::*;
+
salsa::query_group! {
/// A collection of compiler queries.
pub trait Context<'a>: BaseContext<'a> {
@@ -280,3 +284,6 @@ salsa::database_storage! {
}
}
}
+}
+
+pub use self::queries::Context;
