-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
No error handling of binary/hexadecimal floating literals #4804
Labels
A-parser
Area: The parsing of Rust source code to an AST
Comments
I'm going to assume that d9a61f2 fixes this, and close. Reopen if I'm wrong! |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jan 15, 2021
Fix FP for `boxed_local` lint in default trait fn impl Fix FP on default trait function implementation on `boxed_local` lint. Maybe I checked too much when looking if `self` is carrying `Self` in its bound type. I can't find a good test case for this, so it could be too much conservative. Let me know if you think only detecting `self` parameter is enough. Fixes: rust-lang#4804 changelog: none
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Due to the lack of checking (i.e. right before libsyntax/parse/lexer.rs:434), the current lexer parses
0x12.3
as a synonym to12.3
(!). Moreover0xAA.5
triggers an assertion failure fromAPFloat
. Tangentially related to issue #1433.The text was updated successfully, but these errors were encountered: