File tree 4 files changed +8
-8
lines changed 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -27,13 +27,13 @@ repository and compiled from source or installed from
27
27
of the nightly toolchain is supported at any given time.
28
28
29
29
<!-- NOTE: Keep in sync with nightly date on rust-toolchain. -->
30
- It's recommended to use ` nightly-2021-08-31 ` toolchain.
31
- You can install it by using ` rustup install nightly-2021-08-31 ` if you already have rustup.
30
+ It's recommended to use ` nightly-2021-09-10 ` toolchain.
31
+ You can install it by using ` rustup install nightly-2021-09-10 ` if you already have rustup.
32
32
Then you can do:
33
33
34
34
``` sh
35
- $ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2021-08-31
36
- $ cargo +nightly-2021-08-31 install --git https://github.com/rust-lang/rust-semverver
35
+ $ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2021-09-10
36
+ $ cargo +nightly-2021-09-10 install --git https://github.com/rust-lang/rust-semverver
37
37
```
38
38
39
39
You'd also need ` cmake ` for some dependencies, and a few common libraries (if you hit
Original file line number Diff line number Diff line change 1
1
# NOTE: Keep in sync with nightly date on README
2
2
[toolchain]
3
- channel = "nightly-2021-08-31 "
3
+ channel = "nightly-2021-09-10 "
4
4
components = ["llvm-tools-preview", "rustc-dev"]
Original file line number Diff line number Diff line change 7
7
#![ allow( clippy:: unnested_or_patterns) ]
8
8
#![ deny( warnings) ]
9
9
10
- extern crate rustc_hir; // Requires `rustup component add rustc-dev`
10
+ extern crate rustc_const_eval; // Requires `rustup component add rustc-dev`
11
+ extern crate rustc_hir;
11
12
extern crate rustc_infer;
12
13
extern crate rustc_middle;
13
- extern crate rustc_mir;
14
14
extern crate rustc_session;
15
15
extern crate rustc_span;
16
16
extern crate rustc_trait_selection;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use rustc_middle::{
31
31
Visibility :: Public ,
32
32
} ,
33
33
} ;
34
- use rustc_mir :: const_eval:: is_const_fn;
34
+ use rustc_const_eval :: const_eval:: is_const_fn;
35
35
use std:: collections:: { BTreeMap , HashSet , VecDeque } ;
36
36
37
37
/// The main entry point to our analysis passes.
You can’t perform that action at this time.
0 commit comments