diff options
| author | Matthias Krüger <476013+matthiaskrgr@users.noreply.github.com> | 2025-09-06 23:49:54 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-06 23:49:54 +0200 |
| commit | bb27a2b93d52bba1a5f4bf517948efdd588bf2cb (patch) | |
| tree | dbdaa5265a8a5b30cd390c99047d35ce58936cca /compiler/rustc_lint/src | |
| parent | 1123d49090e29ae2f4dd4131ababa9a41d45e637 (diff) | |
| parent | a641cfc6f37c9f4978b74e416a037c26dc3af7ac (diff) | |
| download | rust-bb27a2b93d52bba1a5f4bf517948efdd588bf2cb.tar.gz rust-bb27a2b93d52bba1a5f4bf517948efdd588bf2cb.zip | |
Rollup merge of #146240 - hkBst:query-1, r=cjgillot
DynamicConfig: use canonical clone impl
Fixes clippy warning:
```text
warning: non-canonical implementation of `clone` on a `Copy` type
--> compiler/rustc_query_impl/src/lib.rs:60:29
|
60 | fn clone(&self) -> Self {
| _____________________________^
61 | | DynamicConfig { dynamic: self.dynamic }
62 | | }
| |_____^ help: change this to: `{ *self }`
```
Diffstat (limited to 'compiler/rustc_lint/src')
0 files changed, 0 insertions, 0 deletions
