bors c41916d9bd Auto merge of #5616 - euclio:no-derive-suggestion, r=phansch,flip1995
new_without_default: do not suggest deriving

---

changelog: do not suggest deriving `Default` in `new_without_default`

This commit changes the behavior of the `new_without_default` lint to not suggest deriving `Default`. This suggestion is misleading if the `new` implementation does something different than what a derived `Default` implementation would do, because then the two methods would not be equivalent.

Instead, the `can_derive_default` check is removed, and we always suggest implementing `Default` in terms of `new()`.
2020-05-25 17:19:00 +00:00
..
2020-04-19 10:56:15 -04:00
2020-04-19 10:56:15 -04:00
2020-04-19 21:00:25 +02:00
2020-04-09 08:08:36 +02:00
2020-04-20 15:47:08 -04:00
2020-04-23 16:30:06 -07:00
2020-04-26 18:00:51 +03:00
2020-04-01 12:15:39 -07:00
2020-04-01 20:14:05 +02:00
2020-04-17 09:27:54 +02:00
2020-04-17 09:27:54 +02:00
2020-03-20 22:52:53 +00:00
2020-04-08 08:37:20 -07:00
2020-03-31 16:13:51 +05:30
2020-04-02 18:31:31 -07:00
2020-04-01 20:12:36 +02:00
2020-04-01 20:12:36 +02:00
2020-03-29 22:22:36 +02:00
2020-03-11 06:35:07 +09:00
2020-03-10 18:00:37 -04:00
2020-03-10 18:00:37 -04:00