Closed
Description
This showed up in a small crater run for the 2021 edition migrations:
- https://crater-reports.s3.amazonaws.com/pr-87190-2/try%23d8627d19850b63702b76089d7b055730e9ddca14/reg/image-0.23.14/log.txt
- https://crater-reports.s3.amazonaws.com/pr-87190-2/try%23d8627d19850b63702b76089d7b055730e9ddca14/reg/mockers-0.21.0/log.txt
The suggestion gets applied for every usage of the macro, resulting in:
panic!("{}", "{}", "{}", "{}", "{}", "{}", "{}", "{}", err)
Metadata
Metadata
Assignees
Labels
Area: The 2021 editionArea: Suggestions generated by the compiler applied by `cargo fix`Category: This is a bug.Diagnostics: An error or lint that should account for edition differences.Diagnostics: A structured suggestion resulting in incorrect code.Relevant to the compiler team, which will review and decide on the PR/issue.