Skip to content
This repository was archived by the owner on Apr 5, 2024. It is now read-only.

Commit 6c22234

Browse files
committed
Auto merge of #322 - JohnTitor:rustup-2022-06-20, r=JohnTitor
Rustup to rust-lang/rust#98247 Closes #320 Signed-off-by: Yuki Okushi <[email protected]>
2 parents 5bfbac0 + e3f5459 commit 6c22234

File tree

4 files changed

+8
-7
lines changed

4 files changed

+8
-7
lines changed

README.md

Lines changed: 5 additions & 5 deletions
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-2022-06-15` toolchain.
31-
You can install it by using `rustup install nightly-2022-06-15` if you already have rustup.
30+
It's recommended to use `nightly-2022-06-20` toolchain.
31+
You can install it by using `rustup install nightly-2022-06-20` if you already have rustup.
3232
Then you can do:
3333

3434
```sh
35-
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-06-15
36-
$ cargo +nightly-2022-06-15 install --git https://github.com/rust-lang/rust-semverver
35+
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-06-20
36+
$ cargo +nightly-2022-06-20 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
@@ -122,7 +122,7 @@ carried out correctly with regards to the current version of your crate on crate
122122

123123
```sh
124124
# install a current version of rust-semverver
125-
cargo +nightly-2022-06-15 install --git https://github.com/rust-lang/rust-semverver
125+
cargo +nightly-2022-06-20 install --git https://github.com/rust-lang/rust-semverver
126126
# fetch the version in the manifest of your crate (adapt this to your usecase if needed)
127127
eval "current_version=$(grep -e '^version = .*$' Cargo.toml | cut -d ' ' -f 3)"
128128
# run the semver checks and output them for convenience

rust-toolchain

Lines changed: 1 addition & 1 deletion
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-2022-06-15"
3+
channel = "nightly-2022-06-20"
44
components = ["llvm-tools-preview", "rustc-dev"]

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ extern crate rustc_middle;
1313
extern crate rustc_session;
1414
extern crate rustc_span;
1515
extern crate rustc_trait_selection;
16+
extern crate rustc_type_ir;
1617

1718
mod changes;
1819
mod mapping;

src/translate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,8 +334,8 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
334334
/// Translate a region.
335335
fn translate_region(&self, region: Region<'tcx>) -> Region<'tcx> {
336336
use rustc_middle::ty::BoundRegionKind::*;
337-
use rustc_middle::ty::RegionKind::*;
338337
use rustc_middle::ty::{EarlyBoundRegion, FreeRegion};
338+
use rustc_type_ir::RegionKind::*;
339339

340340
if !self.translate_params {
341341
return region;

0 commit comments

Comments
 (0)