Skip to content

Commit 395b29d

Browse files
authored
fix: #[doc(hidden)] plumbing module (#781)
1 parent 9b51992 commit 395b29d

3 files changed

+3
-2
lines changed

src/lib.rs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ pub mod prelude {
6464
/// # WARNING
6565
///
6666
/// The contents of this module are NOT subject to semver.
67+
#[doc(hidden)]
6768
pub mod plumbing {
6869
pub use std::any::TypeId;
6970
pub use std::option::Option::{self, None, Some};

tests/compile-fail/specify-does-not-work-if-the-key-is-a-salsa-input.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error[E0277]: the trait bound `MyInput: TrackedStructInDb` is not satisfied
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TrackedStructInDb` is not implemented for `MyInput`
66
|
77
= help: the trait `TrackedStructInDb` is implemented for `MyTracked<'_>`
8-
note: required by a bound in `salsa::function::specify::<impl salsa::plumbing::function::IngredientImpl<C>>::specify_and_record`
8+
note: required by a bound in `salsa::function::specify::<impl salsa::function::IngredientImpl<C>>::specify_and_record`
99
--> src/function/specify.rs
1010
|
1111
| pub fn specify_and_record<'db>(&'db self, db: &'db C::DbView, key: Id, value: C::Output<'db>)

tests/compile-fail/specify-does-not-work-if-the-key-is-a-salsa-interned.stderr

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ error[E0277]: the trait bound `MyInterned<'_>: TrackedStructInDb` is not satisfi
55
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TrackedStructInDb` is not implemented for `MyInterned<'_>`
66
|
77
= help: the trait `TrackedStructInDb` is implemented for `MyTracked<'_>`
8-
note: required by a bound in `salsa::function::specify::<impl salsa::plumbing::function::IngredientImpl<C>>::specify_and_record`
8+
note: required by a bound in `salsa::function::specify::<impl salsa::function::IngredientImpl<C>>::specify_and_record`
99
--> src/function/specify.rs
1010
|
1111
| pub fn specify_and_record<'db>(&'db self, db: &'db C::DbView, key: Id, value: C::Output<'db>)

0 commit comments

Comments
 (0)