2020-08-09 01:19:57 -05:00
|
|
|
error[E0308]: mismatched types
|
2021-08-27 11:04:57 -05:00
|
|
|
--> $DIR/different_generic_args_array.rs:9:9
|
2020-08-09 01:19:57 -05:00
|
|
|
|
|
|
|
|
LL | x = Const::<{ [4] }> {};
|
2022-07-18 18:25:14 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ expected `[3]`, found `[4]`
|
2020-08-09 01:19:57 -05:00
|
|
|
|
|
2022-07-18 18:25:14 -05:00
|
|
|
= note: expected struct `Const<[3]>`
|
|
|
|
found struct `Const<[4]>`
|
2020-08-09 01:19:57 -05:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0308`.
|