Lines Matching defs:error
57 Err(error) => return Err(error),
72 mod error;
73 pub use error::Error;
126 /// Panics if `AutoCfg::new()` returns an error.
143 None => Err(error::from_str("no OUT_DIR specified!")),
164 let meta = try!(fs::metadata(&dir).map_err(error::from_io));
166 return Err(error::from_str("output path is not a writable directory"));
226 let mut child = try!(command.spawn().map_err(error::from_io));
230 try!(stdin.write_all(b"#![no_std]\n").map_err(error::from_io));
232 try!(stdin.write_all(code.as_ref()).map_err(error::from_io));
235 let status = try!(child.wait().map_err(error::from_io));