https://bazelbuild.github.io/rules_rust/#specifying-rust-version recommends to use rust_repositories to build with a particular version of the Rust compiler.
However, https://bazelbuild.github.io/rules_rust/flatten.html#rust_repositories says that rust_repositories is deprecated. If it's deprecated, it shouldn't be featured on the documentation landing page.