diff options
Diffstat (limited to 'vendor/chalk-solve/src/clauses/builtin_traits/clone.rs')
-rw-r--r-- | vendor/chalk-solve/src/clauses/builtin_traits/clone.rs | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/chalk-solve/src/clauses/builtin_traits/clone.rs b/vendor/chalk-solve/src/clauses/builtin_traits/clone.rs deleted file mode 100644 index 6d6b3a362..000000000 --- a/vendor/chalk-solve/src/clauses/builtin_traits/clone.rs +++ /dev/null @@ -1,16 +0,0 @@ -use crate::clauses::ClauseBuilder; -use crate::{Interner, RustIrDatabase, TraitRef}; -use chalk_ir::{CanonicalVarKinds, Floundered, TyKind}; - -use super::copy::add_copy_program_clauses; - -pub fn add_clone_program_clauses<I: Interner>( - db: &dyn RustIrDatabase<I>, - builder: &mut ClauseBuilder<'_, I>, - trait_ref: TraitRef<I>, - ty: TyKind<I>, - binders: &CanonicalVarKinds<I>, -) -> Result<(), Floundered> { - // Implement Clone for types that automaticly implement Copy - add_copy_program_clauses(db, builder, trait_ref, ty, binders) -} |