Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove empty format precision specifier #16

Open
wants to merge 1 commit into
base: no-gods-no-
Choose a base branch
from

Conversation

hkBst
Copy link

@hkBst hkBst commented Feb 8, 2025

A format precision specifier consisting of a dot and no number actually does nothing and has no specified meaning. Currently this is silently ignored, but it may turn into a warning or error.

See rust-lang/rust#131159 and rust-lang/rust#136638

Please leave a comment there if you have any opinion about this. If you remember why this was written this way that could help improve the diagnostics rustc gives.

A format precision specifier consisting of a dot and no number actually does nothing and has no specified meaning. Currently this is silently ignored, but it may turn into a warning or error.

See rust-lang/rust#131159 and rust-lang/rust#136638
@hkBst
Copy link
Author

hkBst commented Feb 8, 2025

BTW Here's a log of the crater run that detected this, where you can see what the effect of the proposed stricter detection is: https://crater-reports.s3.amazonaws.com/pr-136638/try%2377e966048a5976133ba6b8f26d38d558f2a84355/reg/yaxpeax-arm-0.3.0/log.txt

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