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