about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-07-17 07:23:25 +0000
committerbors <bors@rust-lang.org>2019-07-17 07:23:25 +0000
commit5dfb5adbac12ba1aa1121a6db43ae6ecee23e578 (patch)
tree80cacaa430bfe5898da1f569dbb10df015bf68ec /src/test/incremental/thinlto
parentfb35311e9a92e482b3e68042e2d604212b210adb (diff)
parentb7145fbb660fa0dfad14b9ba7d47d1459b103e15 (diff)
downloadrust-5dfb5adbac12ba1aa1121a6db43ae6ecee23e578.tar.gz
rust-5dfb5adbac12ba1aa1121a6db43ae6ecee23e578.zip
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
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions