1
1
error: checked add is not supported yet
2
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /num/mod.rs:335:5
2
+ --> $CORE_SRC /num/mod.rs:335:5
3
3
|
4
4
335 | / int_impl! {
5
5
336 | | Self = i32,
@@ -11,7 +11,7 @@ error: checked add is not supported yet
11
11
| |_____^
12
12
|
13
13
note: used from within `<i32>::overflowing_add`
14
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /num/mod.rs:335:5
14
+ --> $CORE_SRC /num/mod.rs:335:5
15
15
|
16
16
335 | / int_impl! {
17
17
336 | | Self = i32,
@@ -22,7 +22,7 @@ note: used from within `<i32>::overflowing_add`
22
22
354 | | }
23
23
| |_____^
24
24
note: called by `<i32>::overflowing_add_unsigned`
25
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /num/mod.rs:335:5
25
+ --> $CORE_SRC /num/mod.rs:335:5
26
26
|
27
27
335 | / int_impl! {
28
28
336 | | Self = i32,
@@ -33,7 +33,7 @@ note: called by `<i32>::overflowing_add_unsigned`
33
33
354 | | }
34
34
| |_____^
35
35
note: called by `<i32>::checked_add_unsigned`
36
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /num/mod.rs:335:5
36
+ --> $CORE_SRC /num/mod.rs:335:5
37
37
|
38
38
335 | / int_impl! {
39
39
336 | | Self = i32,
@@ -44,32 +44,32 @@ note: called by `<i32>::checked_add_unsigned`
44
44
354 | | }
45
45
| |_____^
46
46
note: called by `<i32 as core::iter::range::Step>::forward_unchecked`
47
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /iter/range.rs:423:1
47
+ --> $CORE_SRC /iter/range.rs:423:1
48
48
|
49
49
423 | / step_integer_impls! {
50
50
424 | | narrower than or same width as usize: [u8 i8], [u16 i16], [u32 i32], [usize isize];
51
51
425 | | wider than usize: [u64 i64], [u128 i128];
52
52
426 | | }
53
53
| |_^
54
54
note: called by `<core::ops::range::Range<i32> as core::iter::range::RangeIteratorImpl>::spec_next`
55
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /iter/range.rs:756:35
55
+ --> $CORE_SRC /iter/range.rs:756:35
56
56
|
57
57
756 | self.start = unsafe { Step::forward_unchecked(old, 1) };
58
58
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
59
59
note: called by `<core::ops::range::Range<i32> as core::iter::traits::iterator::Iterator>::next`
60
- --> /home/eddy/.rustup/toolchains/nightly-2024-04-24-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/library/core/src /iter/range.rs:844:9
60
+ --> $CORE_SRC /iter/range.rs:844:9
61
61
|
62
62
844 | self.spec_next()
63
63
| ^^^^^^^^^^^^^^^^
64
64
note: called by `for_range_signed_broken::main`
65
- --> $DIR/for_range_signed-broken.rs:11 :14
65
+ --> $DIR/for_range_signed-broken.rs:12 :14
66
66
|
67
- 11 | for _ in 0..i {}
67
+ 12 | for _ in 0..i {}
68
68
| ^^^^
69
69
note: called by `main`
70
- --> $DIR/for_range_signed-broken.rs:10 :8
70
+ --> $DIR/for_range_signed-broken.rs:11 :8
71
71
|
72
- 10 | pub fn main(#[spirv(flat)] i: i32) {
72
+ 11 | pub fn main(#[spirv(flat)] i: i32) {
73
73
| ^^^^
74
74
75
75
error: aborting due to 1 previous error
0 commit comments