Function estree::error::type_error [] [src]

pub fn type_error<T>(expected: &'static str, actual: Ty) -> Result<T>