Home
last modified time | relevance | path

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

/rust-libc-0.2.174/
H A Dbuild.rs68 let vers = version.parse().unwrap(); in main()
242 let minor = otry!(otry!(minor).parse().ok()); in rustc_minor_nightly()
284 let major = pieces.next().and_then(|x| x.parse().ok()).unwrap_or(0); in emcc_version_code()
285 let minor = pieces.next().and_then(|x| x.parse().ok()).unwrap_or(0); in emcc_version_code()
286 let patch = pieces.next().and_then(|x| x.parse().ok()).unwrap_or(0); in emcc_version_code()
/rust-libc-0.2.174/libc-test/test/style/
H A Dmod.rs35 use syn::parse::{Parse, ParseStream};
434 fn parse(input: ParseStream) -> syn::Result<Self> { in parse() method
435 input.parse::<Token![if]>()?; in parse()
446 let mut value = content.parse()?; in parse()
455 input.parse::<Token![else]>()?; in parse()
458 else_branch = Some(Box::new(ExprCfgElse::If(input.parse()?))); in parse()
464 items.push(content.parse()?); in parse()
/rust-libc-0.2.174/libc-test/
H A Dbuild.rs5155 let vers = version.parse().unwrap(); in which_freebsd()