diff --git a/compiler/parse/src/ast.rs b/compiler/parse/src/ast.rs index 5e39738711..181c7e0915 100644 --- a/compiler/parse/src/ast.rs +++ b/compiler/parse/src/ast.rs @@ -74,7 +74,7 @@ pub enum StrLiteral<'a> { /// we move on to canonicalization, which often needs to allocate more because /// it's doing things like turning local variables into fully qualified symbols. /// Once canonicalization is done, the arena and the input string get dropped. -#[derive(Clone, Debug, PartialEq)] +#[derive(Clone, Copy, Debug, PartialEq)] pub enum Expr<'a> { // Number Literals Float(&'a str),