I'm type 1 but had a similar issue a few years ago. Mine turned out to be vascular disease and ended up with a procedure to clear the artery of blood clots in the leg. Nearly lost the leg. See your doctor earlier rather than later. I went to A and E as my big toe went black! Left it too long...