From be6f5b4897858c2dee7d06d5d300994e5dc6d3fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ja=C5=ADhien=20Piatlicki?= Date: Wed, 15 Jan 2025 16:13:33 +0100 Subject: [PATCH] Make ExecutionError non-exhaustive. --- nexosim/src/simulation.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/nexosim/src/simulation.rs b/nexosim/src/simulation.rs index b93f287..cae82bf 100644 --- a/nexosim/src/simulation.rs +++ b/nexosim/src/simulation.rs @@ -572,6 +572,7 @@ pub struct DeadlockInfo { } /// An error returned upon simulation execution failure. +#[non_exhaustive] #[derive(Debug)] pub enum ExecutionError { /// The simulation has been intentionally stopped.