fn no_main_err(tcx: TyCtxt<'_>, visitor: &EntryContext<'_>)