Hello, I would like to use rust-toolchain file to specify the rustc version, I would like to specify the channel and the version at the same time, but I wasn't able to find a way to do it.
for example, I would like to specify the toochain version like nightly-2019-11-12.
info: syncing channel updates for 'nightly-2019-11-12-x86_64-unknown-linux-gnu'
info: latest update on 2019-11-12, rust version 1.40.0-nightly (bc0e288ad 2019-11-11)
error: component 'clippy' for target 'x86_64-unknown-linux-gnu' is unavailable for download for channel nightly-2019-11-12
I tried also to use stable channel, I can see that I got stable-2019-11-04 installed but while using specifying it in rust-toolchain, it doesn't seem to be working.
➜ acs git:(feature/fix-nuxt) ✗ rustup show
Default host: x86_64-unknown-linux-gnu
rustup home: /home/cheng/.rustup
installed toolchains
--------------------
stable-x86_64-unknown-linux-gnu
nightly-x86_64-unknown-linux-gnu (default)
active toolchain
----------------
nightly-x86_64-unknown-linux-gnu (default)
rustc 1.40.0-nightly (4f03f4a98 2019-11-12)
➜ acs git:(feature/fix-nuxt) ✗ rustup default stable
info: using existing install for 'stable-x86_64-unknown-linux-gnu'
info: default toolchain set to 'stable-x86_64-unknown-linux-gnu'
stable-x86_64-unknown-linux-gnu unchanged - rustc 1.39.0 (4560ea788 2019-11-04)
➜ acs git:(feature/fix-nuxt) ✗ cd server
➜ server git:(feature/fix-nuxt) ✗ ls
askama.toml Cargo.lock Cargo.toml Config.toml diesel.toml LICENSE migrations rust-toolchain src target templates tls
➜ server git:(feature/fix-nuxt) ✗ vim rust-toolchain
➜ server git:(feature/fix-nuxt) ✗ cargo run
info: syncing channel updates for 'stable-2019-11-04-x86_64-unknown-linux-gnu'
error: no release found for 'stable-2019-11-04'