unrest_tmp_synom/
span.rs

1use std::hash::{Hash, Hasher};
2
3use proc_macro2;
4
5#[derive(Clone, Copy, Default, Debug)]
6pub struct Span(pub proc_macro2::Span);
7
8impl PartialEq for Span {
9    fn eq(&self, _other: &Span) -> bool {
10        true
11    }
12}
13
14impl Eq for Span {}
15
16impl Hash for Span {
17    fn hash<H: Hasher>(&self, _hasher: &mut H) {
18    }
19}