-
-
Notifications
You must be signed in to change notification settings - Fork 14.8k
Untruthful "there are multiple different versions of crate" #148892
Copy link
Copy link
Closed
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsD-incorrectDiagnostics: A diagnostic that is giving misleading or incorrect information.Diagnostics: A diagnostic that is giving misleading or incorrect information.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.
Metadata
Metadata
Assignees
Labels
A-diagnosticsArea: Messages for errors, warnings, and lintsArea: Messages for errors, warnings, and lintsD-incorrectDiagnostics: A diagnostic that is giving misleading or incorrect information.Diagnostics: A diagnostic that is giving misleading or incorrect information.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.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Code
Current output
Rationale and extra context
Rustc says "there are multiple different versions of crate
quotein the dependency graph" and points to aToTokenstrait from version 1.0.42 of cratequote. As far as I understand, there is no other version ofquotein the dependency graph. The diagnostic goes on to point to a different trait in crateproc_macro, butproc_macrois not a version ofquote.This diagnostic is new in nightly-2025-11-13 and is from #144674.
Rust Version
Anything else?
No response