Toolchain (Nightly)

    Per command override (shorthand) πŸ”—

    Source: https://rust-lang.github.io/rustup/overrides.html#toolchain-override-shorthand

    If the first argument to cargo, rustc or other tools in the toolchain begins with +, it will be interpreted as a rustup toolchain name

    Example:

    rustfmt +nightly src/lib.rs
    

    Override to set nightly for a specific folder πŸ”—

    Source: https://rust-lang.github.io/rustup/overrides.html#directory-overrides

    Set Nightly

    rustup override set nightly
    

    Unset override

    rustup override unset
    

    Show version in use

    rustup show