error[E0277]: the trait bound `MyInterned<'_>: LookupId<'_>` is not satisfied --> tests/compile-fail/specify-does-not-work-if-the-key-is-a-salsa-interned.rs:15:1 | 15 | #[salsa::tracked(specify)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `FromId` is not implemented for `MyInterned<'_>`, which is required by `MyInterned<'_>: LookupId<'_>` | = help: the trait `LookupId<'db>` is implemented for `MyTracked<'db>` = note: required for `MyInterned<'_>` to implement `LookupId<'_>` = 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) error[E0277]: the trait bound `MyInterned<'_>: TrackedStructInDb` is not satisfied --> tests/compile-fail/specify-does-not-work-if-the-key-is-a-salsa-interned.rs:15:1 | 15 | #[salsa::tracked(specify)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TrackedStructInDb` is not implemented for `MyInterned<'_>` | = 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)