Remove old syntax for structs implementing a trait #3296
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
C-cleanup
Category: PRs that clean code up or issues documenting cleanup.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
Milestone
The rust grammar still allows for this old-style struct implementing a trait:
Using this form is no longer safe though, as I experienced in #3276. The new min/max style works though:
The text was updated successfully, but these errors were encountered: