diff --git a/components/salsa-entity-macros/src/entity_like.rs b/components/salsa-entity-macros/src/entity_like.rs index f02ae842..d8aa6334 100644 --- a/components/salsa-entity-macros/src/entity_like.rs +++ b/components/salsa-entity-macros/src/entity_like.rs @@ -27,7 +27,7 @@ use heck::CamelCase; -use crate::{data_item::DataItem, options::Options, configuration}; +use crate::{configuration, data_item::DataItem, options::Options}; pub(crate) struct EntityLike { args: Options, @@ -221,13 +221,13 @@ impl EntityLike { type Key = #ident; type Value = #value_field_ty; const CYCLE_STRATEGY: salsa::cycle::CycleRecoveryStrategy = salsa::cycle::CycleRecoveryStrategy::Panic; - + #should_backdate_value_fn - + fn execute(db: &salsa::function::DynDb, key: Self::Key) -> Self::Value { unreachable!() } - + fn recover_from_cycle(db: &salsa::function::DynDb, cycle: &salsa::Cycle, key: Self::Key) -> Self::Value { unreachable!() }