2021 prelude migration lint: Check if trait is actually implemented #86902
Labels
A-edition-2021
Area: The 2021 edition
D-edition
Diagnostics: An error or lint that should account for edition differences.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
(As I mentioned on Zulip:)
I tried out the migration lints on some of my own code, and ran into one false positive:
StructOpt
struct being used withOpt::from_iter
This doesn't actually become ambiguous when FromIterator is imported, because Opt doesn't implement that.
Niko said:
The text was updated successfully, but these errors were encountered: