blob: 94eb5839958afca1f74d799a6e3600ae06932c7a (
plain)
1
2
3
4
5
6
7
8
9
|
use std::fmt;
impl fmt::Display for DecoderError { //~ ERROR cannot find type `DecoderError` in this scope
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
write!(f, "Missing data: {}", self.0)
}
}
fn main() {
}
|