Method for controlling rust infections in leguminous plants by using heterocyclylcarboxanilides of the formula I where n=0-4; X=C1-C4-haloalkyl; Het=a pyrazole, thiazole or pyridine radical of the formula IIa, IIb or IIc where R1 is C1-C4-alkyl or C1-C4-haloalkyl, R2 is H or halogen, R3 is C1-C4-alkyl or C1-C4-haloalkyl, R4 is C1-C4-alkyl or C1-C4-haloalkyl and R5 is halogen, C1-C4-alkyl, C1-C4-haloalkyl, C1-C4-alkoxy, C1-C4-alkylthio, C1-C4-alkylsulfinyl or C1-C4-alkylsulfonyl, mixtures of heterocyclylcarboxanilides of the formula I and a fungicidally active compound II from the group of the azoles, acylalanines, amine derivatives, anilinopyrimidines, dicarboximides, dithiocarbamates, heterocylic compounds, phenylpyrroles, cinnamides, and analogs, or other fungicides according to the description, and also compositions and seed comprising these mixtures.