1 2 3 4 5 6 7 8 9 10
use std::convert::From; #[derive(Debug)] pub struct MetaError; impl From<syn::Error> for MetaError { fn from(_e: syn::Error) -> Self { MetaError } }