We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
let
_
Up to version 12 (excluding), one could have written {% let _x = 7 %} and have it correctly compile. In version 12.1, it fails with:
{% let _x = 7 %}
error: literals are not allowed on the left-hand side of an assignment
(According to the Rust reference, identifiers are allowed to start with an _, as per https://doc.rust-lang.org/reference/identifiers.html.)
It appears that neither identifiers that start with an upper-case letter (like X) are allowed, with the same error.
X
The text was updated successfully, but these errors were encountered:
Sorry for the regression, looks like this has been fixed on main though -- see #1035 for the upcoming 0.13 release.
Sorry, something went wrong.
No branches or pull requests
Up to version 12 (excluding), one could have written
{% let _x = 7 %}
and have it correctly compile. In version 12.1, it fails with:(According to the Rust reference, identifiers are allowed to start with an
_
, as per https://doc.rust-lang.org/reference/identifiers.html.)It appears that neither identifiers that start with an upper-case letter (like
X
) are allowed, with the same error.The text was updated successfully, but these errors were encountered: