rust/compiler
Matthias Krüger c5c0aa143c
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
2023-07-25 23:34:06 +02:00
..
2023-07-23 23:39:04 +02:00
2023-07-23 09:48:07 +02:00
2023-07-23 23:39:04 +02:00
2023-07-24 18:04:35 +02:00
2023-07-24 00:17:45 -04:00
2023-07-25 16:08:58 +00:00