fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
377 B10 linesraw
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