This repository has been archived on 2020-09-15. You can view files and clone it, but cannot push or open issues or pull requests.
Files
not-python-old.2020-08-27/src/compile/error.rs

13 lines
241 B
Rust
Raw Normal View History

use crate::syn::span::*;
use snafu::Snafu;
#[derive(Debug, Snafu)]
pub enum Error {
#[snafu(display("invalid assignment target"))]
InvalidLhs {
span: Span,
}
}
pub type Result<T, E = Error> = std::result::Result<T, E>;