File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -97,17 +97,15 @@ just `nightly-2021-01-21`. The file has to be encoded in US-ASCII this case
97
97
(if you are on Windows, check the encoding and that it does not start with a
98
98
BOM). The legacy format is not available in ` rust-toolchain.toml ` files.
99
99
100
- If you ever get an error like the following (when running ` rustc ` , ` cargo ` or
101
- other command)
100
+ If you see the following error (when running ` rustc ` , ` cargo ` or other command)
102
101
103
102
```
104
103
error: invalid channel name '[toolchain]' in '/PATH/TO/DIRECTORY/rust-toolchain'
105
104
```
106
105
107
- it means you're running ` rustup ` pre-1.23.0 (or just a default toolchain set by
106
+ it means you're running ` rustup ` pre-1.23.0
108
107
` rustup ` pre-1.23.0) and trying to interact with a project that uses the new TOML
109
- encoding in the ` rust-toolchain ` file. You need to upgrade ` rustup ` to 1.23.0+
110
- and set the default toolchain again.
108
+ encoding in the ` rust-toolchain ` file. You need to upgrade ` rustup ` to 1.23.0+.
111
109
112
110
The ` rust-toolchain.toml ` /` rust-toolchain ` files are suitable to check in to
113
111
source control.
You can’t perform that action at this time.
0 commit comments