-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.
Description
In a package foo
a [dev-dependencies] foo = { path = "." }
should be an error.
As there is no use case for it, and it does not do what most people expect.
There are not many people that will try this, and there are few configurations that don't error already. So I don't think we need to get too fancy with the comparison. A check for a path "."
would be a big step foreword.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Error and warning messages generated by Cargo itself.Area: Error and warning messages generated by Cargo itself.S-triageStatus: This issue is waiting on initial triage.Status: This issue is waiting on initial triage.