Function estree::error::string_error [] [src]

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