summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/bad-subst-const-kind.stderr
blob: bd24f9140e4ea72912355109b1f662bb57dfb0cc (plain)
1
2
3
4
5
6
7
8
9
error[E0308]: mismatched types
  --> $DIR/bad-subst-const-kind.rs:8:31
   |
LL | impl<const N: u64> Q for [u8; N] {
   |                               ^ expected `usize`, found `u64`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0308`.