about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/interface.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2024-05-29 14:05:30 +0000
committerbors <bors@rust-lang.org>2024-05-29 14:05:30 +0000
commita83f933a9da258cf037e3cab37cd486bfd861a7d (patch)
tree2c73f7beb8a55093adbb0d68f7079b8aef6ae719 /compiler/rustc_interface/src/interface.rs
parentf2e1a3a80ae54734e1a3d306f31c2caebb05de9b (diff)
parent9d1ed80a8af72ad6918809861697e76ec38df178 (diff)
downloadrust-a83f933a9da258cf037e3cab37cd486bfd861a7d.tar.gz
rust-a83f933a9da258cf037e3cab37cd486bfd861a7d.zip
Auto merge of #125531 - surechen:make_suggestion_for_note_like_drop_lint, 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>
-->
Diffstat (limited to 'compiler/rustc_interface/src/interface.rs')
0 files changed, 0 insertions, 0 deletions