summaryrefslogtreecommitdiffstats
path: root/tests/ui/const-generics/bad-generic-in-copy-impl.stderr
blob: 25701ce68ccc81a6d60086da246ef82eec2318d8 (plain)
1
2
3
4
5
6
7
8
9
error[E0308]: mismatched types
  --> $DIR/bad-generic-in-copy-impl.rs:3:13
   |
LL |     x: [u8; SIZE],
   |             ^^^^ expected `usize`, found `u32`

error: aborting due to previous error

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