Remove syn/error.rs; it was removed as a mod a while ago

Signed-off-by: Alek Ratzloff <alekratz@gmail.com>
This commit is contained in:
2022-02-11 18:33:43 -08:00
parent b4ae936832
commit f70c27a423

View File

@@ -1,11 +0,0 @@
use thiserror::Error;
#[derive(Error, Debug, Clone)]
pub enum SyntaxError {
//#[error("unexpected {0}")]
//Unexpected(String),
#[error("expected {expected}, but got {got}")]
ExpectedGot { expected: String, got: String },
}
pub type Result<T, E = SyntaxError> = std::result::Result<T, E>;