Skip to content

v1.1.0

Latest

Choose a tag to compare

@LukasKalbertodt LukasKalbertodt released this 24 Nov 16:59
264dc9a
  • Add FloatLit::value (and its helper FromFloatLiteral)
    • 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.
  • Fix Display impl of IntegerLit and FloatLit ignoring width/padding format options
  • Improve error message of TryFrom<TokenTree> for *Lit for true/false tokens ("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