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

Commit 305a346

Browse files
committed
1 parent 9c14eaa commit 305a346

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
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-2021-12-05"
3+
channel = "nightly-2021-12-20"
44
components = ["llvm-tools-preview", "rustc-dev"]

src/translate.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -504,6 +504,7 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
504504
ParamEnv::new(
505505
self.tcx.intern_predicates(&target_preds),
506506
param_env.reveal(),
507+
param_env.constness(),
507508
)
508509
})
509510
}

0 commit comments

Comments
 (0)