Workaround for https://github.com/rust-lang/rust/issues/15763