Skip to content

Commit 7bb0bfe

Browse files
committed
change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyBinder to fn_sig in metadata
1 parent a88ec47 commit 7bb0bfe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main_shim.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ pub(crate) fn maybe_create_entry_wrapper(
4646
is_main_fn: bool,
4747
sigpipe: u8,
4848
) {
49-
let main_ret_ty = tcx.bound_fn_sig(rust_main_def_id).subst_identity().output();
49+
let main_ret_ty = tcx.fn_sig(rust_main_def_id).subst_identity().output();
5050
// Given that `main()` has no arguments,
5151
// then its return type cannot have
5252
// late-bound regions, since late-bound

0 commit comments

Comments
 (0)