From db101241a9a22a5166a3b3c1ab7f8e6dfa561453 Mon Sep 17 00:00:00 2001 From: Robert Balicki Date: Sun, 5 Jan 2025 00:58:29 +0900 Subject: [PATCH] AbsoluteEmbeddedLocation doesnt need to implement Copy --- crates/common_lang_types/src/location.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/common_lang_types/src/location.rs b/crates/common_lang_types/src/location.rs index 333f913f..17791584 100644 --- a/crates/common_lang_types/src/location.rs +++ b/crates/common_lang_types/src/location.rs @@ -48,7 +48,7 @@ pub struct EmbeddedRelativeLocation { /// The AbsoluteEmbeddedLocation struct knows how to turn that relative /// path to an absolute path (i.e. it contains the absolute path to /// the project_root) for use when reading the file. -#[derive(Copy, Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)] +#[derive(Clone, Debug, Eq, PartialEq, Ord, PartialOrd, Hash)] pub struct AbsoluteEmbeddedLocation { pub embedded_location: EmbeddedRelativeLocation, }