change fn_sig query to use EarlyBinder; remove bound_fn_sig query; add EarlyBinder to fn_sig in metadata
This commit is contained in:
parent
a88ec47d48
commit
7bb0bfea04
@ -46,7 +46,7 @@ fn create_entry_fn(
|
||||
is_main_fn: bool,
|
||||
sigpipe: u8,
|
||||
) {
|
||||
let main_ret_ty = tcx.bound_fn_sig(rust_main_def_id).subst_identity().output();
|
||||
let main_ret_ty = tcx.fn_sig(rust_main_def_id).subst_identity().output();
|
||||
// Given that `main()` has no arguments,
|
||||
// then its return type cannot have
|
||||
// late-bound regions, since late-bound
|
||||
|
Loading…
Reference in New Issue
Block a user