Skip to content

Commit b344691

Browse files
committed
Sync from rust f99f9e4
2 parents 14b2f8f + a71e691 commit b344691

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ ar = { git = "https://github.com/bjorn3/rust-ar.git", branch = "do_not_remove_cg
2222
indexmap = "1.8.0"
2323
libloading = { version = "0.6.0", optional = true }
2424
once_cell = "1.10.0"
25-
smallvec = "1.6.1"
25+
smallvec = "1.8.1"
2626

2727
[patch.crates-io]
2828
# Uncomment to use local checkout of cranelift

src/base.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -713,6 +713,7 @@ fn codegen_stmt<'tcx>(
713713
substs,
714714
ty::ClosureKind::FnOnce,
715715
)
716+
.expect("failed to normalize and resolve closure during codegen")
716717
.polymorphize(fx.tcx);
717718
let func_ref = fx.get_function_ref(instance);
718719
let func_addr = fx.bcx.ins().func_addr(fx.pointer_type, func_ref);

0 commit comments

Comments
 (0)