-
-
Notifications
You must be signed in to change notification settings - Fork 228
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
Rust's raw identifiers in variable access #540
Comments
Can you check using the main branch? This might have been fixed in #476 |
It generates an error |
If you're using the main branch. Then try using just |
With that code the error is
|
It looks like #476 didn't cover the method call scenario (it did not add a |
@djc In the course of attempting to create a PR, I've cloned the askama repo locally and updated my project's Cargo.toml to resolve the dependency via Although I can build the local askama repo, building my project fails with an error |
The project consists of multiple crates, and you need to add the path to the crate itself, not the project root. E.g. |
Which existing test is most like what you'd envision here @djc? I'll attempt to adapt it. |
From the documentation:
{% match f.fieldtype() %}
runs as expected, however{% match f.r#type() %}
generates an errorunable to parse template
.The text was updated successfully, but these errors were encountered: