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
e982971ff2
commit
c2414dfaa4
80 changed files with 142 additions and 152 deletions
|
@ -1296,7 +1296,7 @@ impl<'v> RootCollector<'_, 'v> {
|
|||
};
|
||||
|
||||
let start_def_id = self.tcx.require_lang_item(LangItem::Start, None);
|
||||
let main_ret_ty = self.tcx.bound_fn_sig(main_def_id).subst_identity().output();
|
||||
let main_ret_ty = self.tcx.fn_sig(main_def_id).subst_identity().output();
|
||||
|
||||
// Given that `main()` has no arguments,
|
||||
// then its return type cannot have
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue