diff options
Diffstat (limited to 'src/libs/intertrait/cast/error.rs')
-rw-r--r-- | src/libs/intertrait/cast/error.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/intertrait/cast/error.rs b/src/libs/intertrait/cast/error.rs index 74eb3ca..a834c05 100644 --- a/src/libs/intertrait/cast/error.rs +++ b/src/libs/intertrait/cast/error.rs @@ -7,4 +7,7 @@ pub enum CastError from: &'static str, to: &'static str, }, + + #[error("Trait '{0}' can't be cast to Arc")] + NotArcCastable(&'static str), } |