about summary refs log tree commit diff
path: root/tests/ui/const-generics/bad-generic-in-copy-impl.stderr
blob: fbd546d42fb5220870416ba372eb6d40ec01a7ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
error[E0308]: mismatched types
  --> $DIR/bad-generic-in-copy-impl.rs:3:13
   |
LL |     x: [u8; SIZE],
   |             ^^^^ expected `usize`, found `u32`

error[E0308]: mismatched types
  --> $DIR/bad-generic-in-copy-impl.rs:3:13
   |
LL |     x: [u8; SIZE],
   |             ^^^^ expected `usize`, found `u32`
   |
   = note: duplicate diagnostic emitted due to `-Z deduplicate-diagnostics=no`

error: aborting due to 2 previous errors

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