File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -40,23 +40,15 @@ error[E0308]: mismatched types
4040LL | let f = [0; -4_isize];
4141 | ^^^^^^^^ expected `usize`, found `isize`
4242 |
43- note: `-4_isize` cannot fit into type `usize`
44- --> $DIR/repeat_count.rs:19:17
45- |
46- LL | let f = [0; -4_isize];
47- | ^^^^^^^^
43+ = note: `-4_isize` cannot fit into type `usize`
4844
4945error[E0308]: mismatched types
5046 --> $DIR/repeat_count.rs:22:23
5147 |
5248LL | let f = [0_usize; -1_isize];
5349 | ^^^^^^^^ expected `usize`, found `isize`
5450 |
55- note: `-1_isize` cannot fit into type `usize`
56- --> $DIR/repeat_count.rs:22:23
57- |
58- LL | let f = [0_usize; -1_isize];
59- | ^^^^^^^^
51+ = note: `-1_isize` cannot fit into type `usize`
6052
6153error[E0308]: mismatched types
6254 --> $DIR/repeat_count.rs:25:17
You can’t perform that action at this time.
0 commit comments