Home
last modified time | relevance | path

Searched refs:from_str (Results 1 – 3 of 3) sorted by relevance

/device/google/cuttlefish_vmm/qemu/third_party/rust/crates/autocfg/src/
Dversion.rs32 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()
Dlib.rs143 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()
Derror.rs65 pub fn from_str(s: &'static str) -> Error { in from_str() function