[][src]Function rustc_incremental::persist::fs::lock_directory

fn lock_directory(
    sess: &Session,
    session_dir: &Path
) -> Result<(Lock, PathBuf), ()>
🔬 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?

Allocate a the lock-file and lock it.