The most likely sources of high-energy cosmic-ray electrons in supernova remnants