Skip to content

Commit

Permalink
Auto merge of #125531 - surechen:make_suggestion_for_note_like_drop_l…
Browse files Browse the repository at this point in the history
…int, r=Urgau

Make lint: `lint_dropping_references` `lint_forgetting_copy_types` `lint_forgetting_references` give suggestion if possible.

This is a follow-up PR of  #125433. When it's merged, I want change lint `dropping_copy_types` to use the same `Subdiagnostic` struct `UseLetUnderscoreIgnoreSuggestion` which is added in this PR.

Hi, Thank you(`@Urgau` ) again for your help in the previous PR.  If your time permits, please also take a look at this one.

r? compiler

<!--
If this PR is related to an unstable feature or an otherwise tracked effort,
please link to the relevant tracking issue here. If you don't know of a related
tracking issue or there are none, feel free to ignore this.

This PR will get automatically assigned to a reviewer. In case you would like
a specific user to review your work, you can assign it to them by using

    r​? <reviewer name>
-->
  • Loading branch information
bors committed May 29, 2024
2 parents 92a70e2 + 2c3b2f8 commit a72f8b2
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit a72f8b2

Please sign in to comment.