diff options
| author | Artur Sinila <personal@logarithmus.dev> | 2022-07-19 02:25:14 +0300 |
|---|---|---|
| committer | Artur Sinila <personal@logarithmus.dev> | 2022-07-19 02:35:48 +0300 |
| commit | c39826e3fac3a3d63a75355d87b6a62ff3cbb8cb (patch) | |
| tree | e373681311ca2585372c968ddb964016302e5976 /src/test/ui/array-slice-vec | |
| parent | f8588549c3c3d45c32b404210cada01e2a45def3 (diff) | |
| download | rust-c39826e3fac3a3d63a75355d87b6a62ff3cbb8cb.tar.gz rust-c39826e3fac3a3d63a75355d87b6a62ff3cbb8cb.zip | |
feat: omit suffixes in const generics (e.g. `1_i32`)
Closes #99255
Diffstat (limited to 'src/test/ui/array-slice-vec')
| -rw-r--r-- | src/test/ui/array-slice-vec/match_arr_unknown_len.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr b/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr index 1a14ab40b1f..5e531a993c6 100644 --- a/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr +++ b/src/test/ui/array-slice-vec/match_arr_unknown_len.stderr @@ -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]` |
