Skip to content

Fix format arg spans in diagnostics#156

Merged
RAprogramm merged 1 commit intomainfrom
eye-of-ra/enable-span-locations-feature-in-cargo.toml
Sep 29, 2025
Merged

Fix format arg spans in diagnostics#156
RAprogramm merged 1 commit intomainfrom
eye-of-ra/enable-span-locations-feature-in-cargo.toml

Conversation

@RAprogramm
Copy link
Owner

Summary

  • enable the span-locations feature on proc-macro2 so join spans include location data
  • fall back to the format argument value span when joining a named argument fails
  • refresh trybuild stderr fixtures to capture the new span highlights

Testing

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

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

@RAprogramm RAprogramm merged commit dd63e75 into main Sep 29, 2025
5 checks passed
@RAprogramm RAprogramm deleted the eye-of-ra/enable-span-locations-feature-in-cargo.toml branch September 29, 2025 07:31
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