about summary refs log tree commit diff
path: root/src/test/ui/array-slice-vec
diff options
context:
space:
mode:
authorOliver Scherer <github35764891676564198441@oli-obk.de>2020-06-19 18:57:15 +0200
committerOliver Scherer <github35764891676564198441@oli-obk.de>2020-06-26 10:08:52 +0200
commit819cde5dabd90dab1fb462cd713457421d0ebd36 (patch)
tree34d1d2b4b50e33ab73aef12429b53896a89d9709 /src/test/ui/array-slice-vec
parente093b6525079cb71d4158f97480ac6f6ce311eac (diff)
downloadrust-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.stderr2
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]`