A solution containing impurity ions is applied onto the surface of a
silicon film to form a solution layer, followed by drying into a compound
layer containing the impurities. Heat treatment is performed by
irradiation with an energy beam so as to diffuse the impurity atoms in
the compound layer toward the silicon film into a source region and a
drain region. Subsequently, the compound layer is removed.