Fix rustc nightly compiler error.