summary refs log tree commit diff
path: root/src/test/ui/const-generics/different_byref.full.stderr
blob: 4463ed7fcdd270cb4aa6c953de8a9427cf34cfe4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0308]: mismatched types
  --> $DIR/different_byref.rs:13:9
   |
LL |     x = Const::<{ [4] }> {};
   |         ^^^^^^^^^^^^^^^^^^^ expected `3_usize`, found `4_usize`
   |
   = note: expected type `[3_usize]`
              found type `[4_usize]`

error: aborting due to previous error

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