Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dario23 committed May 4, 2022
1 parent d670419 commit 1ed57b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rust-toolchain
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# NOTE: Keep in sync with nightly date on README
[toolchain]
channel = "nightly-2022-01-13"
channel = "nightly-2022-01-17"
components = ["llvm-tools-preview", "rustc-dev"]
2 changes: 1 addition & 1 deletion src/translate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ impl<'a, 'tcx> TranslationContext<'a, 'tcx> {
}),
PredicateKind::ConstEvaluatable(uv) => {
if let Some((target_def_id, target_substs)) =
self.translate_orig_substs(index_map, uv.def.did, uv.substs(self.tcx))
self.translate_orig_substs(index_map, uv.def.did, uv.substs)
{
// TODO: We could probably use translated version for
// `WithOptConstParam::const_param_did`
Expand Down

0 comments on commit 1ed57b8

Please sign in to comment.