summaryrefslogtreecommitdiffstats
path: root/tests/ui/specialization/issue-51892.stderr
blob: 9553a04c8f6bffc4a7dfb115d68b063fd17ff76c (plain)
1
2
3
4
5
6
7
8
9
10
error: unconstrained generic constant
  --> $DIR/issue-51892.rs:14:17
   |
LL |     type Type = [u8; std::mem::size_of::<<T as Trait>::Type>()];
   |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: try adding a `where` bound using this expression: `where [(); std::mem::size_of::<<T as Trait>::Type>()]:`

error: aborting due to 1 previous error