diff options
| author | bors <bors@rust-lang.org> | 2020-08-16 16:21:37 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-08-16 16:21:37 +0000 |
| commit | e522ca3c8d980f51c521512a6740849bf78cdcbf (patch) | |
| tree | 49d5ffddc7bf6499276c9c67361467b088189be2 /src | |
| parent | f8db258b224bb5616fb550a2a6b780beec9ff3c4 (diff) | |
| parent | 8e549978e58fe724c4637ab71808ff8785743c61 (diff) | |
| download | rust-e522ca3c8d980f51c521512a6740849bf78cdcbf.tar.gz rust-e522ca3c8d980f51c521512a6740849bf78cdcbf.zip | |
Auto merge of #5831 - chansuke:to_string_in_display, r=flip1995
Don't use `to_string` in impl Display fixes #3876 this PR is derived from [Toxyxer's implementation](https://github.com/rust-lang/rust-clippy/pull/5574). changelog: add [`to_string_in_display`] lint
Diffstat (limited to 'src')
| -rw-r--r-- | src/lintlist/mod.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lintlist/mod.rs b/src/lintlist/mod.rs index ccc9e250952..46827084a60 100644 --- a/src/lintlist/mod.rs +++ b/src/lintlist/mod.rs @@ -2167,6 +2167,13 @@ pub static ref ALL_LINTS: Vec<Lint> = vec