Make error::Error non_exhaustive
This commit is contained in:
parent
e0da6ac929
commit
0bd36b42e7
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue