From fc7b79ddff3c549496b1c311f81eb87589edf455 Mon Sep 17 00:00:00 2001 From: Dzmitry Malyshau Date: Tue, 30 Mar 2021 09:38:57 -0400 Subject: [PATCH] [msl-out] make EntryPointError cloneable --- src/back/msl/mod.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/back/msl/mod.rs b/src/back/msl/mod.rs index 120e8532a5..0b067a329f 100644 --- a/src/back/msl/mod.rs +++ b/src/back/msl/mod.rs @@ -76,9 +76,9 @@ pub enum Error { Validation, } -#[derive(Debug, thiserror::Error)] +#[derive(Clone, Debug, PartialEq, thiserror::Error)] pub enum EntryPointError { - #[error("bind source for {0:?} is missing from the map")] + #[error("mapping of {0:?} is missing")] MissingBinding(BindSource), }