Fix to rust-nightly