feat: omit suffixes in const generics (e.g. 1_i32)

Closes #99255
This commit is contained in:
Artur Sinila 2022-07-19 02:25:14 +03:00
parent f8588549c3
commit c39826e3fa
No known key found for this signature in database
GPG key ID: 770E69D690735C61
43 changed files with 179 additions and 170 deletions

View file

@ -2,7 +2,7 @@ error[E0308]: mismatched types
--> $DIR/match_arr_unknown_len.rs:3:9
|
LL | [1, 2] => true,
| ^^^^^^ expected `2_usize`, found `N`
| ^^^^^^ expected `2`, found `N`
|
= note: expected array `[u32; 2]`
found array `[u32; N]`