We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7277df commit 7a89a33Copy full SHA for 7a89a33
src/test/ui/repeat_count.stderr
@@ -40,23 +40,15 @@ error[E0308]: mismatched types
40
LL | let f = [0; -4_isize];
41
| ^^^^^^^^ expected `usize`, found `isize`
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
- | ^^^^^^^^
+ = note: `-4_isize` cannot fit into type `usize`
48
49
error[E0308]: mismatched types
50
--> $DIR/repeat_count.rs:22:23
51
52
LL | let f = [0_usize; -1_isize];
53
54
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
+ = note: `-1_isize` cannot fit into type `usize`
60
61
62
--> $DIR/repeat_count.rs:25:17
0 commit comments