diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-06-19 18:57:15 +0200 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2020-06-26 10:08:52 +0200 |
| commit | 819cde5dabd90dab1fb462cd713457421d0ebd36 (patch) | |
| tree | 34d1d2b4b50e33ab73aef12429b53896a89d9709 /src/test/ui/array-slice-vec | |
| parent | e093b6525079cb71d4158f97480ac6f6ce311eac (diff) | |
| download | rust-819cde5dabd90dab1fb462cd713457421d0ebd36.tar.gz rust-819cde5dabd90dab1fb462cd713457421d0ebd36.zip | |
Show the values and computation that would overflow a const evaluation or propagation
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 4fe8572c2d5..0ad05b3adeb 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 @@ -11,7 +11,7 @@ error[E0308]: mismatched types --> $DIR/match_arr_unknown_len.rs:6:9 | LL | [1, 2] => true, - | ^^^^^^ expected `2usize`, found `N` + | ^^^^^^ expected `2_usize`, found `N` | = note: expected array `[u32; 2]` found array `[u32; N]` |
