1
1
error: `#[panic_handler]` function required, but not found
2
2
3
- error: language item required, but not found: `eh_personality`
4
-
5
3
error[E0308]: mismatched types
6
- --> $DIR/issue-54505-no-std.rs:21 :16
4
+ --> $DIR/issue-54505-no-std.rs:24 :16
7
5
|
8
6
LL | take_range(0..1);
9
7
| ^^^^
@@ -15,7 +13,7 @@ LL | take_range(0..1);
15
13
found type `core::ops::Range<{integer}>`
16
14
17
15
error[E0308]: mismatched types
18
- --> $DIR/issue-54505-no-std.rs:26 :16
16
+ --> $DIR/issue-54505-no-std.rs:29 :16
19
17
|
20
18
LL | take_range(1..);
21
19
| ^^^
@@ -27,7 +25,7 @@ LL | take_range(1..);
27
25
found type `core::ops::RangeFrom<{integer}>`
28
26
29
27
error[E0308]: mismatched types
30
- --> $DIR/issue-54505-no-std.rs:31 :16
28
+ --> $DIR/issue-54505-no-std.rs:34 :16
31
29
|
32
30
LL | take_range(..);
33
31
| ^^
@@ -39,7 +37,7 @@ LL | take_range(..);
39
37
found type `core::ops::RangeFull`
40
38
41
39
error[E0308]: mismatched types
42
- --> $DIR/issue-54505-no-std.rs:36 :16
40
+ --> $DIR/issue-54505-no-std.rs:39 :16
43
41
|
44
42
LL | take_range(0..=1);
45
43
| ^^^^^
@@ -51,7 +49,7 @@ LL | take_range(0..=1);
51
49
found type `core::ops::RangeInclusive<{integer}>`
52
50
53
51
error[E0308]: mismatched types
54
- --> $DIR/issue-54505-no-std.rs:41 :16
52
+ --> $DIR/issue-54505-no-std.rs:44 :16
55
53
|
56
54
LL | take_range(..5);
57
55
| ^^^
@@ -63,7 +61,7 @@ LL | take_range(..5);
63
61
found type `core::ops::RangeTo<{integer}>`
64
62
65
63
error[E0308]: mismatched types
66
- --> $DIR/issue-54505-no-std.rs:46 :16
64
+ --> $DIR/issue-54505-no-std.rs:49 :16
67
65
|
68
66
LL | take_range(..=42);
69
67
| ^^^^^
@@ -74,6 +72,6 @@ LL | take_range(..=42);
74
72
= note: expected type `&_`
75
73
found type `core::ops::RangeToInclusive<{integer}>`
76
74
77
- error: aborting due to 8 previous errors
75
+ error: aborting due to 7 previous errors
78
76
79
77
For more information about this error, try `rustc --explain E0308`.
0 commit comments