fix for breaking change https://github.com/rust-lang/rust/commit/4af3494bb02e80badc978faa65e59625ade0c675