X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=compiler%2Frustc_query_system%2Fsrc%2Fquery%2Fconfig.rs;h=a28e45a5c086dc66805730ad804b22df8dfb38fa;hb=6d225bb0804e333aa411acce45de4230845bcf2b;hp=8c0330e438de4724711816ed47742d1e5537aee1;hpb=fbffaa91ada6387cdea184dcd1d689762b3e8927;p=rust.git diff --git a/compiler/rustc_query_system/src/query/config.rs b/compiler/rustc_query_system/src/query/config.rs index 8c0330e438d..a28e45a5c08 100644 --- a/compiler/rustc_query_system/src/query/config.rs +++ b/compiler/rustc_query_system/src/query/config.rs @@ -21,7 +21,7 @@ pub trait QueryConfig { type Key: DepNodeParams + Eq + Hash + Clone + Debug; type Value: Debug; - type Stored: Debug + Clone + std::borrow::Borrow; + type Stored: Debug + Copy + std::borrow::Borrow; type Cache: QueryCache;