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
The peg macro currently only accepts a subset of attributes which means that it is not possible to suppress warnings in code generated by the macro without applying suppression to the entire enclosing module. I ran into this problem with clippy::too_many_arguments; 4 arguments divided between a grammar & a rule triggered that lint when it is configured using the default limit of 7.
I’m not exactly sure what the correct task here is. Add allow/warn/deny/forbid as valid attributes? Pass through all unknown attributes? Have peg disable this lint proactively? Maintain the status quo?
The text was updated successfully, but these errors were encountered:
The peg macro currently only accepts a subset of attributes which means that it is not possible to suppress warnings in code generated by the macro without applying suppression to the entire enclosing module. I ran into this problem with
clippy::too_many_arguments
; 4 arguments divided between a grammar & a rule triggered that lint when it is configured using the default limit of 7.I’m not exactly sure what the correct task here is. Add allow/warn/deny/forbid as valid attributes? Pass through all unknown attributes? Have peg disable this lint proactively? Maintain the status quo?
The text was updated successfully, but these errors were encountered: