summaryrefslogtreecommitdiffstats
path: root/src/test/ui/const-generics/issues/issue-67739.full.stderr
blob: f1a426c3c586199e4c272976d2278e6a52a22e9b (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained generic constant
  --> $DIR/issue-67739.rs:11:15
   |
LL |         [0u8; mem::size_of::<Self::Associated>()];
   |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); mem::size_of::<Self::Associated>()]:`

error: aborting due to previous error