Files
rust/clippy_lints/src
bors 4912c0ece4 Auto merge of #9126 - Jarcho:auto_deref_sugg, r=Manishearth
`explicit_auto_deref` changes

fixes #9123
fixes #9109
fixes #9143
fixes #9101

This avoid suggesting code which hits a rustc bug. Basically `&{x}` won't use auto-deref if the target type is `Sized`.

changelog: Don't suggest using auto deref for block expressions when the target type is `Sized`
changelog: Include the borrow in the suggestion for `explicit_auto_deref`
changelog: Don't lint `explicit_auto_deref` on `dyn Trait` return
changelog: Don't lint `explicit_auto_deref` when other adjustments are required
changelog: Lint `explicit_auto_deref` in implicit return positions for closures
2022-08-08 15:20:24 +00:00
..
2022-07-25 22:35:28 -04:00
2022-08-02 18:12:31 +08:00
2022-08-02 12:06:22 -05:00
2022-07-25 22:35:28 -04:00
2022-07-06 06:41:53 +01:00
2022-08-04 19:53:07 +03:00
2022-07-11 23:20:37 +02:00
2022-07-12 21:00:14 +04:00
2022-07-12 21:00:14 +04:00
2022-08-02 18:12:31 +08:00
2022-07-29 19:35:39 +01:00
2022-01-23 19:31:32 +08:00
2022-06-14 16:11:27 +02:00
2022-07-01 10:04:19 -05:00
2022-07-12 21:00:14 +04:00
2022-07-02 23:30:03 +01:00
2022-04-23 09:56:15 +02:00
2022-05-10 22:47:18 -04:00
2022-07-12 21:00:14 +04:00
2022-05-23 09:34:49 -07:00
2022-08-01 23:39:00 +02:00
2022-08-01 23:39:00 +02:00
2022-08-02 18:12:31 +08:00
2022-07-12 21:00:14 +04:00
2022-07-12 21:00:14 +04:00
2022-08-02 18:12:31 +08:00
2022-08-02 17:56:20 +08:00
2022-08-02 18:12:31 +08:00
2022-08-04 19:53:07 +03:00
2022-01-16 16:02:36 -06:00
2022-02-15 16:03:24 +11:00
2022-07-12 21:00:14 +04:00
2022-05-10 12:07:35 +02:00
2022-08-02 18:12:31 +08:00
2022-08-02 18:12:31 +08:00
2022-01-23 19:31:32 +08:00
2022-08-02 18:12:31 +08:00
2022-07-29 19:35:39 +01:00
2022-04-30 13:51:49 +02:00
2022-07-11 23:20:37 +02:00
2022-07-12 21:00:14 +04:00
2022-07-12 21:00:14 +04:00
2022-03-11 13:31:24 +11:00
2022-03-15 02:00:08 +01:00