What I have:
- Ubuntu 19.04 with Rust stable and nightly installed via
- Rust defaults to stable (not going to change that)
rustfmtinstalled in both toolchains
cargo fmt calls stable and
cargo +nightly fmt calls nightly (thank you cpt. Obvoius).
My question: Is there a way to force global use of nightly
rustfmt without switching of the whole toolchain to
nightly? Some black magic in
Edit: I need to change
cargo fmt functionality, so tools that call it implicitly in background use nightly, like for example IntelliJ or cargo make. Alias in shell does not help here.