Skip to content

feat(aztec-nr): collect missing-annotation errors instead of halting #[aztec]#24109

Draft
vezenovm wants to merge 1 commit into
merge-train/fairies-v5from
mv/f-578-collect-macro-errors
Draft

feat(aztec-nr): collect missing-annotation errors instead of halting #[aztec]#24109
vezenovm wants to merge 1 commit into
merge-train/fairies-v5from
mv/f-578-collect-macro-errors

Conversation

@vezenovm

@vezenovm vezenovm commented Jun 15, 2026

Copy link
Copy Markdown
Contributor

Fixes F-578

check_each_fn_macroified panicked on the first function missing #[external]/#[internal]/#[test], halting #[aztec] before self/context were injected and cascading "cannot find self" across every other function. It now uses std::meta::error to record the diagnostic and continue, so each unannotated function is reported at its own location and the rest of the pipeline runs. Drops the bob_token compile-failure fixture from 38 to 11 errors.

First of a three-PR F-578 stack; followed by #24110 (flip all validators) and #24111 (emit dummies).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-draft Run CI on draft PRs.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant