-
Notifications
You must be signed in to change notification settings - Fork 13.8k
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsP-lowLow priorityLow priority
Description
This error can happen when a crate depends upon another crate which depends upon a different version of a crate they both share. It's a very poor error message though because:
- It's misleading (the problem is that the crates were incompatible not that core could not be found: both versions of core were present).
- It doesn't provide any context. Which crates are involved? What are the version numbers of the incompatible crates?
One way to debug this is to do rustc --ls
on each crate you depend upon and see if the common crate version numbers match up.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsP-lowLow priorityLow priority