diff options
| author | bors <bors@rust-lang.org> | 2019-07-17 07:23:25 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-07-17 07:23:25 +0000 |
| commit | 5dfb5adbac12ba1aa1121a6db43ae6ecee23e578 (patch) | |
| tree | 80cacaa430bfe5898da1f569dbb10df015bf68ec /src/test/incremental/thinlto | |
| parent | fb35311e9a92e482b3e68042e2d604212b210adb (diff) | |
| parent | b7145fbb660fa0dfad14b9ba7d47d1459b103e15 (diff) | |
| download | rust-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
