Could this be `for (i, declaration) in declaration_iter.enumerate()` ?