bors 5dfb5adbac Auto merge of #4259 - Darth-Revan:origin/inherent_to_string, r=flip1995
Implement lint for inherent to_string() method.

Fixes #4247

changelog: Implement two new lints: `inherent_to_string` and `inherent_to_string_shadow_display`

1) Emits a warning if a type implements an inherent method `to_string(&self) -> String`
2) Emits an error if a type implements an inherent method `to_string(&self) -> String` and also implements the `Display` trait
2019-07-17 07:23:25 +00:00
..
2019-05-28 15:34:25 +02:00
2019-07-16 22:26:47 +02:00
2019-05-12 13:07:58 +02:00
2019-04-30 16:45:28 -03:00
2019-04-30 16:45:28 -03:00
2019-04-30 16:45:28 -03:00
2019-04-30 16:45:28 -03:00
2019-05-08 09:24:24 +02:00
2019-05-08 09:24:24 +02:00
2019-07-01 15:53:48 +02:00
2019-05-21 13:08:19 +02:00
2019-05-21 13:08:19 +02:00
2019-07-16 21:28:03 +02:00
2019-07-16 22:26:47 +02:00
2019-04-25 19:41:23 -07:00
2019-05-14 13:46:10 +02:00
2019-05-21 13:08:19 +02:00
2019-07-01 07:22:04 +02:00
2019-05-12 10:18:38 +02:00
2019-05-12 10:18:38 +02:00
2019-06-08 13:35:04 +02:00
2019-06-14 10:45:03 +02:00
2019-06-14 10:45:03 +02:00
2019-07-06 12:34:32 +07:00
2019-07-06 12:34:32 +07:00
2019-07-06 12:34:32 +07:00
2019-06-30 18:28:12 -04:00
2019-06-30 18:28:12 -04:00
2019-06-30 18:28:12 -04:00
2019-05-08 09:24:24 +02:00