11error: `#[panic_handler]` function required, but not found
22
3- error: language item required, but not found: `eh_personality`
4-
53error[E0308]: mismatched types
6- --> $DIR/issue-54505-no-std.rs:21 :16
4+ --> $DIR/issue-54505-no-std.rs:24 :16
75 |
86LL | take_range(0..1);
97 | ^^^^
@@ -15,7 +13,7 @@ LL | take_range(0..1);
1513 found type `core::ops::Range<{integer}>`
1614
1715error[E0308]: mismatched types
18- --> $DIR/issue-54505-no-std.rs:26 :16
16+ --> $DIR/issue-54505-no-std.rs:29 :16
1917 |
2018LL | take_range(1..);
2119 | ^^^
@@ -27,7 +25,7 @@ LL | take_range(1..);
2725 found type `core::ops::RangeFrom<{integer}>`
2826
2927error[E0308]: mismatched types
30- --> $DIR/issue-54505-no-std.rs:31 :16
28+ --> $DIR/issue-54505-no-std.rs:34 :16
3129 |
3230LL | take_range(..);
3331 | ^^
@@ -39,7 +37,7 @@ LL | take_range(..);
3937 found type `core::ops::RangeFull`
4038
4139error[E0308]: mismatched types
42- --> $DIR/issue-54505-no-std.rs:36 :16
40+ --> $DIR/issue-54505-no-std.rs:39 :16
4341 |
4442LL | take_range(0..=1);
4543 | ^^^^^
@@ -51,7 +49,7 @@ LL | take_range(0..=1);
5149 found type `core::ops::RangeInclusive<{integer}>`
5250
5351error[E0308]: mismatched types
54- --> $DIR/issue-54505-no-std.rs:41 :16
52+ --> $DIR/issue-54505-no-std.rs:44 :16
5553 |
5654LL | take_range(..5);
5755 | ^^^
@@ -63,7 +61,7 @@ LL | take_range(..5);
6361 found type `core::ops::RangeTo<{integer}>`
6462
6563error[E0308]: mismatched types
66- --> $DIR/issue-54505-no-std.rs:46 :16
64+ --> $DIR/issue-54505-no-std.rs:49 :16
6765 |
6866LL | take_range(..=42);
6967 | ^^^^^
@@ -74,6 +72,6 @@ LL | take_range(..=42);
7472 = note: expected type `&_`
7573 found type `core::ops::RangeToInclusive<{integer}>`
7674
77- error: aborting due to 8 previous errors
75+ error: aborting due to 7 previous errors
7876
7977For more information about this error, try `rustc --explain E0308`.
0 commit comments