RATIONALE: Pemetrexed disodium and erlotinib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. Giving pemetrexed disodium together with erlotinib may kill more tumor cells.