Skip to content

Parse #[error] format arguments and fmt handlers#73

Merged
RAprogramm merged 1 commit intonew_versionfrom
codex/update-parse_error_attribute-for-argument-lists
Sep 19, 2025
Merged

Parse #[error] format arguments and fmt handlers#73
RAprogramm merged 1 commit intonew_versionfrom
codex/update-parse_error_attribute-for-argument-lists

Conversation

@RAprogramm
Copy link
Owner

Summary

  • allow #[error("…")] to parse trailing format arguments into FormatArg metadata
  • recognise #[error(fmt = )] handlers, capturing their path and guarding against duplicate fmt specs
  • surface clearer diagnostics when unsupported argument combinations are used and add trybuild coverage
  • bump crate versions and update changelog/readme entries

Testing

  • cargo +nightly fmt --
  • RUSTUP_TOOLCHAIN=1.90.0 cargo clippy -- -D warnings
  • RUSTUP_TOOLCHAIN=1.90.0 cargo build --all-targets
  • RUSTUP_TOOLCHAIN=1.90.0 cargo test --all
  • RUSTUP_TOOLCHAIN=1.90.0 cargo doc --no-deps
  • cargo deny check
  • cargo audit

https://chatgpt.com/codex/tasks/task_e_68cd5180b2bc832ba3440e7714561b93

@RAprogramm RAprogramm merged commit 750d3b5 into new_version Sep 19, 2025
1 of 2 checks passed
@RAprogramm RAprogramm deleted the codex/update-parse_error_attribute-for-argument-lists branch September 19, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant