[−][src]Function cargo_sysroot::get_rust_src
pub fn get_rust_src() -> Result<PathBuf>
Get the rust-src
component of the current toolchain.
Errors if current toolchain isn't a nightly.
See https://rust-lang.github.io/rustup/faq.html#can-rustup-download-the-rust-source-code