diff options
| author | varkor <github@varkor.com> | 2019-05-27 14:28:20 +0100 |
|---|---|---|
| committer | varkor <github@varkor.com> | 2019-05-28 21:35:20 +0100 |
| commit | 56181cf8abf8ad7f7d36e92ef4d7bf294df23c4c (patch) | |
| tree | a77cb0373cc98c1279b413be29ba01122a5df641 /src/test/ui/consts | |
| parent | 854995313a029df89381449bb168bf61c88c546c (diff) | |
| download | rust-56181cf8abf8ad7f7d36e92ef4d7bf294df23c4c.tar.gz rust-56181cf8abf8ad7f7d36e92ef4d7bf294df23c4c.zip | |
Correct pluralisation of tuple/array/associated type binding mismatch errors
Diffstat (limited to 'src/test/ui/consts')
| -rw-r--r-- | src/test/ui/consts/const-array-oob-arith.stderr | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/ui/consts/const-array-oob-arith.stderr b/src/test/ui/consts/const-array-oob-arith.stderr index 00286b0b0e0..77414fc7c92 100644 --- a/src/test/ui/consts/const-array-oob-arith.stderr +++ b/src/test/ui/consts/const-array-oob-arith.stderr @@ -2,7 +2,7 @@ error[E0308]: mismatched types --> $DIR/const-array-oob-arith.rs:7:45 | LL | const BLUB: [i32; (ARR[0] - 40) as usize] = [5]; - | ^^^ expected an array with a fixed size of 2 elements, found one with 1 elements + | ^^^ expected an array with a fixed size of 2 elements, found one with 1 element | = note: expected type `[i32; 2]` found type `[i32; 1]` @@ -11,7 +11,7 @@ error[E0308]: mismatched types --> $DIR/const-array-oob-arith.rs:8:44 | LL | const BOO: [i32; (ARR[0] - 41) as usize] = [5, 99]; - | ^^^^^^^ expected an array with a fixed size of 1 elements, found one with 2 elements + | ^^^^^^^ expected an array with a fixed size of 1 element, found one with 2 elements | = note: expected type `[i32; 1]` found type `[i32; 2]` |
