create macro-rules macros to encapsulate output

This is a new idea for how to manage procedural
macros, which I kind of hate.
This commit is contained in:
Niko Matsakis 2024-07-12 08:21:23 -04:00
parent d666744704
commit dde7341f97
8 changed files with 244 additions and 206 deletions

View file

@ -56,7 +56,7 @@ where
crate::cycle::CycleRecoveryStrategy::Fallback => {
if let Some(c) = active_query.take_cycle() {
assert!(c.is(&cycle));
C::recover_from_cycle(db, &cycle, key)
C::recover_from_cycle(db, &cycle, C::id_to_input(db, key))
} else {
// we are not a participant in this cycle
debug_assert!(!cycle