2022-08-26 23:51:35 +00:00
|
|
|
error[E0277]: the trait bound `MyInterned: TrackedStructInDb<dyn Db>` is not satisfied
|
2022-11-29 04:36:03 +00:00
|
|
|
--> tests/compile-fail/specify-does-not-work-if-the-key-is-a-salsa-interned.rs:21:1
|
2022-09-18 01:58:17 +00:00
|
|
|
|
|
|
|
|
21 | #[salsa::tracked(jar = Jar, specify)]
|
2022-11-29 04:36:03 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `TrackedStructInDb<dyn Db>` is not implemented for `MyInterned`
|
2022-09-18 01:58:17 +00:00
|
|
|
|
|
|
|
|
= help: the trait `TrackedStructInDb<DB>` is implemented for `MyTracked`
|
2022-08-26 23:51:35 +00:00
|
|
|
note: required by a bound in `function::specify::<impl FunctionIngredient<C>>::specify_and_record`
|
2022-09-18 01:58:17 +00:00
|
|
|
--> $WORKSPACE/components/salsa-2022/src/function/specify.rs
|
|
|
|
|
|
2024-04-26 00:16:05 +00:00
|
|
|
| pub fn specify_and_record<'db>(&self, db: &'db DynDb<'db, C>, key: Id, value: C::Value)
|
2023-10-08 19:47:01 +00:00
|
|
|
| ------------------ required by a bound in this associated function
|
|
|
|
| where
|
2024-04-26 00:16:05 +00:00
|
|
|
| C::Input: TrackedStructInDb<DynDb<'db, C>>,
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `function::specify::<impl FunctionIngredient<C>>::specify_and_record`
|
2022-11-29 04:36:03 +00:00
|
|
|
= note: this error originates in the attribute macro `salsa::tracked` (in Nightly builds, run with -Z macro-backtrace for more info)
|