fix for latest rust nighly