Skip to content

Commit 1ed57b8

Browse files
committed
1 parent d670419 commit 1ed57b8

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

src/translate.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,7 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
451451
}),
452452
PredicateKind::ConstEvaluatable(uv) => {
453453
if let Some((target_def_id, target_substs)) =
454-
self.translate_orig_substs(index_map, uv.def.did, uv.substs(self.tcx))
454+
self.translate_orig_substs(index_map, uv.def.did, uv.substs)
455455
{
456456
// TODO: We could probably use translated version for
457457
// `WithOptConstParam::const_param_did`

0 commit comments

Comments
 (0)