Skip to content

Conversation

@terror
Copy link
Contributor

@terror terror commented Jan 12, 2026

Resolves #16499

This diff uses rustc-style diagnostics with help: lines instead of inline semicolon-separated messages when a dependency cannot be found.

Before:

  error: the dependency `fo` could not be found in `dependencies`; dependency `foo` exists

After:

  error: the dependency `fo` could not be found in `dependencies`

  help: a dependency with a similar name exists: `foo`

r? @weihanglo

@rustbot rustbot added A-manifest Area: Cargo.toml issues S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Jan 12, 2026
@rustbot
Copy link
Collaborator

rustbot commented Jan 12, 2026

r? @epage

rustbot has assigned @epage.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@terror terror force-pushed the typo-dependency-error branch from c0be599 to ac71eba Compare January 12, 2026 00:15
@rustbot rustbot assigned weihanglo and unassigned epage Jan 12, 2026
Copy link
Member

@weihanglo weihanglo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@weihanglo weihanglo enabled auto-merge January 12, 2026 00:37
@weihanglo weihanglo added this pull request to the merge queue Jan 12, 2026
Merged via the queue into rust-lang:master with commit 2e5dd34 Jan 12, 2026
29 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-manifest Area: Cargo.toml issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Error message when trying to remove a typo'd dependency could be clearer

4 participants