You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.
Note that here { is being matched as the opening bracket of the function, causing the closing " to be matched as the start of a string (the remainder of the function is considered to be in the string).
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Now that Rust 1.39.0 supports attributes on parameters, the grammar should be updated to allow attributes when parsing function definitions.
Example:
Notice that
"bar"
is not highlighted as a string, which is an included pattern in the attribute grammar.Additionally, parsing breaks when the attribute string has characters that are interpreted as Rust tokens:
Note that here
{
is being matched as the opening bracket of the function, causing the closing"
to be matched as the start of a string (the remainder of the function is considered to be in the string).The text was updated successfully, but these errors were encountered: