Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/hir-ty/src/target_feature.rs')
-rw-r--r--crates/hir-ty/src/target_feature.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/hir-ty/src/target_feature.rs b/crates/hir-ty/src/target_feature.rs
index 9d1238701b..0a8ed2cf0c 100644
--- a/crates/hir-ty/src/target_feature.rs
+++ b/crates/hir-ty/src/target_feature.rs
@@ -7,7 +7,7 @@ use hir_def::tt;
use intern::{Symbol, sym};
use rustc_hash::{FxHashMap, FxHashSet};
-#[derive(Debug, Default)]
+#[derive(Debug, Default, Clone)]
pub struct TargetFeatures {
pub(crate) enabled: FxHashSet<Symbol>,
}