Closed
Description
With the latest nightly, the bytemuck crate fails to compile. This was compiling yesterday and the issue seems to be traits are not imported with super::*. Please see the issue in the bytemuck repository: Lokathor/bytemuck#197
Meta
rustc --version --verbose
:
rustc 1.72.0-nightly (fe7454bf4 2023-06-19)
binary: rustc
commit-hash: fe7454bf439c93cbe9ac8a8f7fcfacd5a40244c2
commit-date: 2023-06-19
host: x86_64-apple-darwin
release: 1.72.0-nightly
LLVM version: 16.0.5
Error output
error[E0404]: expected trait, found derive macro `NoUninit`
--> /Users/octavonce/Projects/purple_coin/vendor/crates/bytemuck-1.13.1/src/allocation.rs:25:20
|
25 | pub fn cast_box<A: NoUninit, B: AnyBitPattern>(input: Box<A>) -> Box<B> {
| ^^^^^^^^ not a trait
|
help: consider importing this trait instead
|
12 + use crate::NoUninit;