Repository navigation
- Add
FloatLit::value(and its helperFromFloatLiteral)- This now allows you to actually get the float value from literals. The old advice (
f32::from_str(lit.number_part())) didn't always work.
- This now allows you to actually get the float value from literals. The old advice (
- Fix
Displayimpl ofIntegerLitandFloatLitignoring width/padding format options - Improve error message of
TryFrom<TokenTree> for *Litfortrue/falsetokens ("found a bool literal" instead of "found an identifier") - Fix span of "integer suffix must not start with 'e'" error for binary and octal literals