Refactor ~and
with literal to colon notation
#370
Labels
new lint
Issues suggesting new lints or pull requests implementing new lints
I recently learned that in
syntax-parse
, literals can be used with colon notation just like syntax classes. There ought to be a refactoring rule for this since I'm sure it's come up in tons of macros I've written. Note that implementing this requires #369 to work properly.The text was updated successfully, but these errors were encountered: