[][src]Function rustc_incremental::persist::file_format::read_file

pub fn read_file(
    report_incremental_info: bool,
    path: &Path
) -> Result<Option<(Vec<u8>, usize)>>
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Reads the contents of a file with a file header as defined in this module.