This repository was archived by the owner on Apr 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Expand file tree Collapse file tree 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
2727of 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-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.
3232Then you can do:
3333
3434``` 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
3737```
3838
3939You'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 11# NOTE: Keep in sync with nightly date on README
22[toolchain]
3- channel = "nightly-2021-08-31 "
3+ channel = "nightly-2021-09-10 "
44components = ["llvm-tools-preview", "rustc-dev"]
Original file line number Diff line number Diff line change 77#![ allow( clippy:: unnested_or_patterns) ]
88#![ deny( warnings) ]
99
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;
1112extern crate rustc_infer;
1213extern crate rustc_middle;
13- extern crate rustc_mir;
1414extern crate rustc_session;
1515extern crate rustc_span;
1616extern crate rustc_trait_selection;
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ use rustc_middle::{
3131 Visibility :: Public ,
3232 } ,
3333} ;
34- use rustc_mir :: const_eval:: is_const_fn;
34+ use rustc_const_eval :: const_eval:: is_const_fn;
3535use std:: collections:: { BTreeMap , HashSet , VecDeque } ;
3636
3737/// The main entry point to our analysis passes.
You can’t perform that action at this time.
0 commit comments