]> git.lizzy.rs Git - rust.git/blob - src/test/ui/const-generics/issues/issue-67739.full.stderr
Rollup merge of #99358 - compiler-errors:issue-99325, r=oli-obk
[rust.git] / src / test / ui / const-generics / issues / issue-67739.full.stderr
1 error: unconstrained generic constant
2   --> $DIR/issue-67739.rs:11:15
3    |
4 LL |         [0u8; mem::size_of::<Self::Associated>()];
5    |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6    |
7    = help: try adding a `where` bound using this expression: `where [(); mem::size_of::<Self::Associated>()]:`
8
9 error: aborting due to previous error
10