Skip to content

Fix spacing for related diagnostics with codes#467

Open
MukundaKatta wants to merge 1 commit into
zkat:mainfrom
MukundaKatta:codex/tighten-related-diagnostic-spacing
Open

Fix spacing for related diagnostics with codes#467
MukundaKatta wants to merge 1 commit into
zkat:mainfrom
MukundaKatta:codex/tighten-related-diagnostic-spacing

Conversation

@MukundaKatta

Copy link
Copy Markdown

Closes #200

Summary

  • avoid adding an extra blank line after nested related diagnostic codes
  • update graphical related-output expectations to keep each related diagnostic visually grouped

Verification

  • cargo test related --test graphical --features fancy
  • cargo test --test graphical --features fancy
  • cargo fmt --check
  • git diff --check

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Awkward spacing with #[related] errors with #[diagnostic(code)]s

1 participant