-
Notifications
You must be signed in to change notification settings - Fork 13.7k
Closed
Labels
A-edition-2021Area: The 2021 editionArea: The 2021 editionD-editionDiagnostics: An error or lint that should account for edition differences.Diagnostics: An error or lint that should account for edition differences.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.
Description
(As I mentioned on Zulip:)
I tried out the migration lints on some of my own code, and ran into one false positive:
- A
StructOpt
struct being used withOpt::from_iter
help: disambiguate the associated function: `<Opt as StructOpt>::from_iter`
This doesn't actually become ambiguous when FromIterator is imported, because Opt doesn't implement that.
Niko said:
shouldn't be that hard, we just need a call to
evaluate_predicate
I think
Metadata
Metadata
Assignees
Labels
A-edition-2021Area: The 2021 editionArea: The 2021 editionD-editionDiagnostics: An error or lint that should account for edition differences.Diagnostics: An error or lint that should account for edition differences.T-compilerRelevant to the compiler team, which will review and decide on the PR/issue.Relevant to the compiler team, which will review and decide on the PR/issue.