Skip to content

Commit 714fb0d

Browse files
committed
Update to nightly-2020-12-14
rust-lang/rust#79956 improved enum's visibility and now we can check the visibility more precisely.
1 parent 97312f2 commit 714fb0d

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ repository and compiled from source or installed from
2727
of the nightly toolchain is supported at any given time.
2828

2929
<!-- NOTE: Keep in sync with nightly date on rust-toolchain. -->
30-
It's recommended to use `nightly-2020-12-01` toolchain.
31-
You can install it by using `rustup install nightly-2020-12-01` if you already have rustup.
30+
It's recommended to use `nightly-2020-12-14` toolchain.
31+
You can install it by using `rustup install nightly-2020-12-14` if you already have rustup.
3232
Then you can do:
3333

3434
```sh
3535
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2020-11-19
36-
$ cargo +nightly-2020-12-01 install --git https://github.com/rust-lang/rust-semverver
36+
$ cargo +nightly-2020-12-14 install --git https://github.com/rust-lang/rust-semverver
3737
```
3838

3939
You'd also need `cmake` for some dependencies, and a few common libraries (if you hit

rust-toolchain

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# NOTE: Keep in sync with nightly date on README
22
[toolchain]
3-
channel = "nightly-2020-12-01"
3+
channel = "nightly-2020-12-14"
44
components = ["llvm-tools-preview", "rustc-dev"]

tests/cases/enums/stdout

+6-6
Original file line numberDiff line numberDiff line change
@@ -73,32 +73,32 @@ warning: variant with no public fields changed to a tuple variant (breaking)
7373
|
7474
19 | Abc(u8),
7575
| ^^^^^^^
76-
warning: variant with no public fields changed to a tuple variant (breaking)
76+
warning: variant with public fields changed to a tuple variant (breaking)
7777
--> enums/new.rs:20:5
7878
|
7979
20 | Bcd,
8080
| ^^^
81-
warning: variant with no public fields changed to a struct variant (breaking)
81+
warning: variant with public fields changed to a struct variant (breaking)
8282
--> enums/new.rs:21:5
8383
|
8484
21 | Cde { f: u8 },
8585
| ^^^^^^^^^^^^^
86-
warning: variant with no public fields changed to a tuple variant (breaking)
86+
warning: variant with public fields changed to a tuple variant (breaking)
8787
--> enums/new.rs:22:5
8888
|
8989
22 | Def,
9090
| ^^^
91-
warning: variant with no public fields changed to a struct variant (breaking)
91+
warning: variant with public fields changed to a struct variant (breaking)
9292
--> enums/new.rs:23:5
9393
|
9494
23 | Efg { f: u8 },
9595
| ^^^^^^^^^^^^^
96-
warning: private field removed from variant with private fields (breaking)
96+
warning: public field removed from variant with no private fields (breaking)
9797
--> enums/old.rs:25:11
9898
|
9999
25 | Ghi { f: u8 },
100100
| ^^^^^
101-
note: private field added to variant with private fields (non-breaking)
101+
warning: public field added to variant with no private fields (breaking)
102102
--> enums/new.rs:25:11
103103
|
104104
25 | Ghi { g: u8 },

0 commit comments

Comments
 (0)