diff options
| author | bors <bors@rust-lang.org> | 2024-01-05 06:39:46 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-01-05 06:39:46 +0000 |
| commit | ee8bfb7f7af0c4ba4a6d200627bb48d0e09dcc17 (patch) | |
| tree | d22d2baa9dd64fe3c13478ae1a3b5451e5bbe740 /tests/debuginfo/enum-thinlto.rs | |
| parent | 8507e4c80e7e7af605798b8c784d4edb3fb0f436 (diff) | |
| parent | 5960107415caf34a84fc8bb2f2fd303b7e358041 (diff) | |
| download | rust-ee8bfb7f7af0c4ba4a6d200627bb48d0e09dcc17.tar.gz rust-ee8bfb7f7af0c4ba4a6d200627bb48d0e09dcc17.zip | |
Auto merge of #12051 - y21:option_as_ref_cloned, r=dswij
new lint: `option_as_ref_cloned` Closes #12009 Adds a new lint that looks for `.as_ref().cloned()` on `Option`s. That's the same as just `.clone()`-ing the option directly. changelog: new lint: [`option_as_ref_cloned`]
Diffstat (limited to 'tests/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions
