fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error: unconstrained generic constant 2 --> $DIR/issue-51892.rs:14:17 3 | 4LL | type Type = [u8; std::mem::size_of::<<T as Trait>::Type>()]; 5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 6 | 7 = help: try adding a `where` bound using this expression: `where [(); std::mem::size_of::<<T as Trait>::Type>()]:` 8 9error: aborting due to previous error 10