Files
rust/compiler
Matthias Krüger b7a1ff2aaa Rollup merge of #114052 - clubby789:suggest-option-asref, r=WaffleLapkin
Suggest `{Option,Result}::as_ref()` instead of `cloned()` in some cases

Fixes #114050

When we have an expr available that produces the type expectation, we can suggest appending `.as_ref()` to the span, instead of cloning the expr producing the mismatch
2023-07-25 19:21:38 +02:00
..
2023-07-23 23:39:04 +02:00
2023-05-02 10:45:16 -07:00
2023-07-23 09:48:07 +02:00
2023-07-03 07:20:51 +00:00
2023-07-23 23:39:04 +02:00
2023-07-02 21:02:31 +02:00
2023-07-19 16:37:09 +00:00
2023-07-24 18:04:35 +02:00
2023-07-03 13:51:54 -07:00
2023-07-24 00:17:45 -04:00