diff --git a/src/error.rs b/src/error.rs index 029d629..421518a 100644 --- a/src/error.rs +++ b/src/error.rs @@ -9,6 +9,7 @@ use std::sync::Arc; /// Error type returned by `mlua` methods. #[derive(Debug, Clone)] +#[non_exhaustive] pub enum Error { /// Syntax error while parsing Lua source code. SyntaxError {