Heteroatom-guided, palladium-catalyzed regioselective C-H functionalization in the synthesis of 3-arylquinolines.