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

Commit 57a6b00

Browse files
committed
Auto merge of #319 - JohnTitor:rustup-2022-06-15, r=JohnTitor
Rustup to rust-lang/rust#98041 Fixes #318 Signed-off-by: Yuki Okushi <[email protected]>
2 parents 127312f + b0ba377 commit 57a6b00

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
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-09` toolchain.
31-
You can install it by using `rustup install nightly-2022-06-09` if you already have rustup.
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.
3232
Then you can do:
3333

3434
```sh
35-
$ rustup component add rustc-dev llvm-tools-preview --toolchain nightly-2022-06-09
36-
$ cargo +nightly-2022-06-09 install --git https://github.com/rust-lang/rust-semverver
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
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-09 install --git https://github.com/rust-lang/rust-semverver
125+
cargo +nightly-2022-06-15 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-09"
3+
channel = "nightly-2022-06-15"
44
components = ["llvm-tools-preview", "rustc-dev"]

src/typeck.rs

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ impl<'a, 'tcx> TypeComparisonContext<'a, 'tcx> {
218218
target: Ty<'tcx>,
219219
) -> Option<TypeError<'tcx2>> {
220220
use rustc_infer::infer::outlives::env::OutlivesEnvironment;
221-
use rustc_infer::infer::{InferOk, RegionckMode};
221+
use rustc_infer::infer::InferOk;
222222
use rustc_middle::ty::Lift;
223223

224224
let error = self.infcx.commit_if_ok(|snapshot| {
@@ -248,11 +248,8 @@ impl<'a, 'tcx> TypeComparisonContext<'a, 'tcx> {
248248
// self.relate_regions(r_b, r_a);
249249
// }
250250

251-
self.infcx.resolve_regions_and_report_errors(
252-
target_def_id,
253-
&outlives_env,
254-
RegionckMode::default(),
255-
);
251+
self.infcx
252+
.resolve_regions_and_report_errors(target_def_id, &outlives_env);
256253

257254
let err = self
258255
.infcx

0 commit comments

Comments
 (0)