Searched refs:from_str (Results 1 – 3 of 3) sorted by relevance
32 return Err(error::from_str("could not execute rustc")); in from_rustc()39 None => return Err(error::from_str("could not find rustc release")), in from_rustc()52 .ok_or_else(|| error::from_str("missing major version"))); in from_rustc()55 .ok_or_else(|| error::from_str("missing minor version"))); in from_rustc()58 .ok_or_else(|| error::from_str("missing patch version"))); in from_rustc()
143 None => Err(error::from_str("no OUT_DIR specified!")), in new()166 return Err(error::from_str("output path is not a writable directory")); in with_dir()
65 pub fn from_str(s: &'static str) -> Error { in from_str() function