Diesel fuel won't rust stainless (due to the inherent nature of stainless itself) .... it might corode it however (sulfur content, possible acidity, etc. etc.)
On the otherhand diesel fuel is a hydrophilic substance, meaning that it attracts water - so it will attract moisture that could cause...