pub(crate) fn type_of( genv: GlobalEnv<'_, '_>, def_id: LocalDefId, ) -> QueryResult<EarlyBinder<TyOrCtor>>