Skip to content

Commit 40e27be

Browse files
committed
1 parent 9c99f14 commit 40e27be

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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-04-02"
3+
channel = "nightly-2022-04-20"
44
components = ["llvm-tools-preview", "rustc-dev"]

src/mismatch.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ impl<'a, 'tcx> TypeRelation<'tcx> for MismatchRelation<'a, 'tcx> {
255255
}
256256
(&TyKind::Opaque(_a_def_id, a_substs), &TyKind::Opaque(_b_def_id, b_substs)) => {
257257
if self.check_substs(a_substs, b_substs) {
258-
let _ = ty::relate::relate_substs(self, None, a_substs, b_substs)?;
258+
let _ = ty::relate::relate_substs(self, a_substs, b_substs)?;
259259
}
260260

261261
// TODO: we are talking impl trait here, so we can build a Res for that or the

0 commit comments

Comments
 (0)