diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2023-07-25 23:34:06 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-07-25 23:34:06 +0200 |
| commit | c5c0aa143c1124888b11298a79ce443ae9636bef (patch) | |
| tree | bf81292fdf82c98bf36415da0386b6cfd2bd25b9 /compiler/rustc_interface/src/errors.rs | |
| parent | 18fa7b9104aad0cbaba6d9aff8e19d6b96eedcef (diff) | |
| parent | 25db1fac81103832519bd219877e7f756e690e77 (diff) | |
| download | rust-c5c0aa143c1124888b11298a79ce443ae9636bef.tar.gz rust-c5c0aa143c1124888b11298a79ce443ae9636bef.zip | |
Rollup merge of #112995 - strottos:ref-clone-suggestions, r=fee1-dead
Check for `<&NotClone as Clone>::clone()` calls and suggest to add Clone trait appropriately Added recursive checking back up the HIR to see if a `Clone` suggestion would be helpful. Addresses https://github.com/rust-lang/rust/issues/112857 Largely based on: https://github.com/rust-lang/rust/pull/112977
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions
