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
40
40
LL | let f = [0; -4_isize];
41
41
| ^^^^^^^^ expected `usize`, found `isize`
42
42
|
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`
48
44
49
45
error[E0308]: mismatched types
50
46
--> $DIR/repeat_count.rs:22:23
51
47
|
52
48
LL | let f = [0_usize; -1_isize];
53
49
| ^^^^^^^^ expected `usize`, found `isize`
54
50
|
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`
60
52
61
53
error[E0308]: mismatched types
62
54
--> $DIR/repeat_count.rs:25:17
You can’t perform that action at this time.
0 commit comments