diff --git a/compiler/cl-interpret/src/error.rs b/compiler/cl-interpret/src/error.rs index bc83213..60e9807 100644 --- a/compiler/cl-interpret/src/error.rs +++ b/compiler/cl-interpret/src/error.rs @@ -41,7 +41,7 @@ pub enum Error { /// A function was called with the wrong number of arguments ArgNumber { want: usize, got: usize }, /// A pattern failed to match - PatFailed(Pattern), + PatFailed(Box), /// Fell through a non-exhaustive match MatchNonexhaustive, /// Error produced by a Builtin