about summary refs log tree commit diff
path: root/compiler/rustc_lint/src
diff options
context:
space:
mode:
authorMatthias Krüger <476013+matthiaskrgr@users.noreply.github.com>2025-09-06 23:49:54 +0200
committerGitHub <noreply@github.com>2025-09-06 23:49:54 +0200
commitbb27a2b93d52bba1a5f4bf517948efdd588bf2cb (patch)
treedbdaa5265a8a5b30cd390c99047d35ce58936cca /compiler/rustc_lint/src
parent1123d49090e29ae2f4dd4131ababa9a41d45e637 (diff)
parenta641cfc6f37c9f4978b74e416a037c26dc3af7ac (diff)
downloadrust-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