use std::error;
use std::fmt;

use syntex_pos::SpanSnippetError;

#[derive(Debug, PartialEq)]
pub enum Error {
    Snippet(SpanSnippetError),
    InvalidInput,
    Unsupported,
}

impl fmt::Display for Error {
    fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {