I looked for a used diesel for quite some time. Nicer stuff was $30-$35k, had 75k miles, and most importantly, NO warranty. Found a new Dodge in the low $40's, with a 5 year/100k driveline warranty. Diesel repairs get expensive FAST. Drive it for 5 years, keep mileage below 100k, get a new one. Lose $10k-$15k on old truck trade, or likely lose $10k repairing old truck when warranty runs out, AND you still have an older truck... The new ones have gotten too complicated.

Note: This doesn't work if you drive optioned out $70k Platinums or Laramies, etc.