diff options
| author | Marijn Schouten <mhkbst@gmail.com> | 2025-09-05 12:31:56 +0000 |
|---|---|---|
| committer | Marijn Schouten <mhkbst@gmail.com> | 2025-09-05 12:31:56 +0000 |
| commit | a641cfc6f37c9f4978b74e416a037c26dc3af7ac (patch) | |
| tree | a108e69ca023f253e9248bb078676433eb75e598 /compiler/rustc_query_impl/src | |
| parent | ad85bc524b1ad696e42061ad8338d382dffbdbe5 (diff) | |
| download | rust-a641cfc6f37c9f4978b74e416a037c26dc3af7ac.tar.gz rust-a641cfc6f37c9f4978b74e416a037c26dc3af7ac.zip | |
DynamicConfig: use canonical clone impl
Diffstat (limited to 'compiler/rustc_query_impl/src')
| -rw-r--r-- | compiler/rustc_query_impl/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_query_impl/src/lib.rs b/compiler/rustc_query_impl/src/lib.rs index 306d4dbc4b4..e499e08c82b 100644 --- a/compiler/rustc_query_impl/src/lib.rs +++ b/compiler/rustc_query_impl/src/lib.rs @@ -58,7 +58,7 @@ impl<'tcx, C: QueryCache, const ANON: bool, const DEPTH_LIMIT: bool, const FEEDA for DynamicConfig<'tcx, C, ANON, DEPTH_LIMIT, FEEDABLE> { fn clone(&self) -> Self { - DynamicConfig { dynamic: self.dynamic } + *self } } |
