rust-lang / rust-lang/rust

rustc suggests in non-user-defined external library

Open
#142,403 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-diagnostics A-suggestion-diagnostics C-tracking-issue T-compiler
Dominant language
Rust
Stars
119k
Forks
16.1k
PR merge metrics
PR metrics pending

Description

This issue is used to keep track of similar suggestion errors.

rustc often makes suggestions in non-user-defined external libraries that we can't apply because it's automatically downloaded by Cargo or exists in the standard library.

Related Issues: #142359, #139830, #139253, #139251, #139247, #139051, #139050, #139049

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reading this tracking issue and the related issues #142359, #139830, #139253, #139251, #139247, #139051, #139050, and #139049. Then trace rustc's suggestion generation for automatically downloaded Cargo dependencies and standard-library code. Done means suggestions are no longer emitted for non-user-defined external libraries, with the related cases covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
compilers
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.