Skip to content

docs: restore dropped dbg macro name in bad_error_messages comment#6059

Open
prql-bot wants to merge 2 commits into
mainfrom
fix/restore-dbg-macro-comment
Open

docs: restore dropped dbg macro name in bad_error_messages comment#6059
prql-bot wants to merge 2 commits into
mainfrom
fix/restore-dbg-macro-comment

Conversation

@prql-bot

@prql-bot prql-bot commented Jul 4, 2026

Copy link
Copy Markdown
Collaborator

The contributor guidance at the top of bad_error_messages.rs reads "Add `` macros to the code to see what's going on" — the inline-code span is empty. The macro name was dropped somewhere along the way; the comment originally read "Add dbg macros" (see the pre-`prqlc` history in `7c510444`, before the `prql-compiler` → `prqlc` merge). This restores it.

Kept as dbg (no !) deliberately: the no-dbg pre-commit hook (.pre-commit-config.yaml) is a pygrep over all Rust files for the literal dbg!, so writing the bang — even inside a doc comment — trips the hook. The original text dodged this the same way.

Surfaced by the nightly code-quality survey.

No test: this is a comment-only change with no behavior to exercise.

prql-bot and others added 2 commits July 4, 2026 07:22
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@prql-bot prql-bot changed the title docs: restore dropped dbg! macro name in bad_error_messages comment docs: restore dropped dbg macro name in bad_error_messages comment Jul 4, 2026
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.

1 participant