Skip to content

Instantly share code, notes, and snippets.

@durka
Created April 4, 2018 17:40
Show Gist options
  • Save durka/b1a9799b28d38d3c86114513211f21ff to your computer and use it in GitHub Desktop.
Save durka/b1a9799b28d38d3c86114513211f21ff to your computer and use it in GitHub Desktop.
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:29:29
|
29 | if v >= r.start && v <= r.end {
| ^^^^^^^
...
226 | / impl_cast_unchecked!(
227 | | u8 as [ u8, i16, u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
228 | | u16 as [ u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
229 | | u32 as [ u32, u64, i128, u128, f32, f64 ],
... |
236 | | f64 as [ f64 ],
237 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:29:45
|
29 | if v >= r.start && v <= r.end {
| ^^^^^
...
226 | / impl_cast_unchecked!(
227 | | u8 as [ u8, i16, u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
228 | | u16 as [ u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
229 | | u32 as [ u32, u64, i128, u128, f32, f64 ],
... |
236 | | f64 as [ f64 ],
237 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:29:29
|
29 | if v >= r.start && v <= r.end {
| ^^^^^^^
...
244 | / impl_cast_unchecked!(
245 | | u32 as [ usize],
246 | | usize as [ u128, f32, f64],
247 | | isize as [ i128, u128, f32, f64],
248 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:29:45
|
29 | if v >= r.start && v <= r.end {
| ^^^^^
...
244 | / impl_cast_unchecked!(
245 | | u32 as [ usize],
246 | | usize as [ u128, f32, f64],
247 | | isize as [ i128, u128, f32, f64],
248 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:38:28
|
38 | if v < r.start {
| ^^^^^^^
...
226 | / impl_cast_unchecked!(
227 | | u8 as [ u8, i16, u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
228 | | u16 as [ u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
229 | | u32 as [ u32, u64, i128, u128, f32, f64 ],
... |
236 | | f64 as [ f64 ],
237 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:39:25
|
39 | r.start
| ^^^^^^^
...
226 | / impl_cast_unchecked!(
227 | | u8 as [ u8, i16, u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
228 | | u16 as [ u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
229 | | u32 as [ u32, u64, i128, u128, f32, f64 ],
... |
236 | | f64 as [ f64 ],
237 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:40:36
|
40 | } else if v > r.end {
| ^^^^^
...
226 | / impl_cast_unchecked!(
227 | | u8 as [ u8, i16, u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
228 | | u16 as [ u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
229 | | u32 as [ u32, u64, i128, u128, f32, f64 ],
... |
236 | | f64 as [ f64 ],
237 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:41:25
|
41 | r.end
| ^^^^^
...
226 | / impl_cast_unchecked!(
227 | | u8 as [ u8, i16, u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
228 | | u16 as [ u16, i32, u32, i64, u64, i128, u128, f32, f64, usize, isize],
229 | | u32 as [ u32, u64, i128, u128, f32, f64 ],
... |
236 | | f64 as [ f64 ],
237 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:38:28
|
38 | if v < r.start {
| ^^^^^^^
...
244 | / impl_cast_unchecked!(
245 | | u32 as [ usize],
246 | | usize as [ u128, f32, f64],
247 | | isize as [ i128, u128, f32, f64],
248 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:39:25
|
39 | r.start
| ^^^^^^^
...
244 | / impl_cast_unchecked!(
245 | | u32 as [ usize],
246 | | usize as [ u128, f32, f64],
247 | | isize as [ i128, u128, f32, f64],
248 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:40:36
|
40 | } else if v > r.end {
| ^^^^^
...
244 | / impl_cast_unchecked!(
245 | | u32 as [ usize],
246 | | usize as [ u128, f32, f64],
247 | | isize as [ i128, u128, f32, f64],
248 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:41:25
|
41 | r.end
| ^^^^^
...
244 | / impl_cast_unchecked!(
245 | | u32 as [ usize],
246 | | usize as [ u128, f32, f64],
247 | | isize as [ i128, u128, f32, f64],
248 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:24
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:34
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:52
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:81
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:24
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:34
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:52
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:70:81
|
70 | if r.start < r.end && self >= (r.start as $src) && self <= (r.end as $src) {
| ^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:78:32
|
78 | if self >= r.start as $src {
| ^^^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:79:36
|
79 | if self <= r.end as $src {
| ^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:82:29
|
82 | r.end
| ^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:85:25
|
85 | r.start
| ^^^^^^^
...
249 | / impl_cast_checked!(
250 | | u16 as [u8, i8 ],
251 | | i16 as [u8, i8 ],
252 | | u32 as [u8, i8, u16, i16 ],
... |
257 | | f64 as [u8, i8, u16, i16, u32, i32, u64, i64, f32, usize, isize],
258 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:78:32
|
78 | if self >= r.start as $src {
| ^^^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:79:36
|
79 | if self <= r.end as $src {
| ^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:82:29
|
82 | r.end
| ^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:85:25
|
85 | r.start
| ^^^^^^^
...
266 | / impl_cast_checked!(
267 | | usize as [u8, i8, u16, i16, u32, i32 ],
268 | | isize as [u8, i8, u16, i16, u32, i32 ],
269 | | );
| |__- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:114:33
|
114 | let start = r.start as $signed;
| ^^^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:116:60
|
116 | if start >= 0 && self >= start && u <= r.end {
| ^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:124:33
|
124 | let start = r.start as $signed;
| ^^^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:126:25
|
126 | r.start
| ^^^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:127:38
|
127 | } else if self > r.end as $signed {
| ^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:128:25
|
128 | r.end
| ^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:147:39
|
147 | if s >= 0 && s >= r.start && s <= r.end {
| ^^^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:147:55
|
147 | if s >= 0 && s >= r.start && s <= r.end {
| ^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:156:37
|
156 | if s < 0 || s > r.end {
| ^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:157:25
|
157 | r.end
| ^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:158:35
|
158 | } else if s < r.start {
| ^^^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:159:25
|
159 | r.start
| ^^^^^^^
...
271 | impl_cast_signed!(u8, i8; u16, i16; u32, i32; u64, i64; usize, isize;);
| ----------------------------------------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:179:29
|
179 | if b >= r.start && b <= r.end {
| ^^^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:179:45
|
179 | if b >= r.start && b <= r.end {
| ^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:188:28
|
188 | if b < r.start {
| ^^^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:189:25
|
189 | r.start
| ^^^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:190:35
|
190 | } else if b > r.end {
| ^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:191:25
|
191 | r.end
| ^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:205:29
|
205 | if a >= r.start && a <= r.end {
| ^^^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:205:45
|
205 | if a >= r.start && a <= r.end {
| ^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:214:28
|
214 | if a < r.start {
| ^^^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:215:25
|
215 | r.start
| ^^^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:216:35
|
216 | } else if a > r.end {
| ^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:217:25
|
217 | r.end
| ^^^^^
...
277 | impl_cast_id!(usize, u64; isize, i64;);
| --------------------------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:296:50
|
296 | match ( $(self.$idx.cast_clipped(r.start.$idx ..= r.end.$idx), )* ) {
| ^^^^^^^
...
309 | impl_tuple!(impl_cast);
| ----------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:296:67
|
296 | match ( $(self.$idx.cast_clipped(r.start.$idx ..= r.end.$idx), )* ) {
| ^^^^^
...
309 | impl_tuple!(impl_cast);
| ----------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:303:50
|
303 | $Tuple( $(self.$idx.cast_clamped(r.start.$idx ..= r.end.$idx)),* )
| ^^^^^^^
...
309 | impl_tuple!(impl_cast);
| ----------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error[E0658]: use of unstable library feature 'inclusive_range_fields' (see issue #49022)
--> /Users/alex/.cargo/git/checkouts/math_traits-377ef1ba09fb5bd4/915b114/src/cast.rs:303:67
|
303 | $Tuple( $(self.$idx.cast_clamped(r.start.$idx ..= r.end.$idx)),* )
| ^^^^^
...
309 | impl_tuple!(impl_cast);
| ----------------------- in this macro invocation
|
= help: add #![feature(inclusive_range_fields)] to the crate attributes to enable
= note: this error originates in a macro outside of the current crate (in Nightly builds, run with -Z external-macro-backtrace for more info)
error: aborting due to 56 previous errors
For more information about this error, try `rustc --explain E0658`.
error: Could not compile `math_traits`.
warning: build failed, waiting for other jobs to finish...
error: build failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment