error[E0277]: the trait bound `MyInput: TrackedStructInDb` is not satisfied --> tests/compile-fail/specify-does-not-work-if-the-key-is-a-salsa-input.rs:15:1 | 15 | #[salsa::tracked(specify)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TrackedStructInDb` is not implemented for `MyInput` | = help: the trait `TrackedStructInDb` is implemented for `MyTracked<'_>` note: required by a bound in `salsa::function::specify::>::specify_and_record` --> src/function/specify.rs | | pub fn specify_and_record<'db>(&'db self, db: &'db C::DbView, key: Id, value: C::Output<'db>) | ------------------ required by a bound in this associated function | where | C::Input<'db>: TrackedStructInDb, | ^^^^^^^^^^^^^^^^^ required by this bound in `salsa::function::specify::>::specify_and_record` = note: this error originates in the macro `salsa::plumbing::setup_tracked_fn` which comes from the expansion of the attribute macro `salsa::tracked` (in Nightly builds, run with -Z macro-backtrace for more info)