You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ui/bad_range.stderr
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -13,39 +13,39 @@ error[E0080]: evaluation panicked: range minimum should be less than maximum
13
13
= note: this error originates in the macro `$crate::__unsafe_api_internal` which comes from the expansion of the macro `define_bounded_integers` (in Nightly builds, run with -Z macro-backtrace for more info)
14
14
15
15
note: erroneous constant encountered
16
-
--> ui/bad_range.rs:4:13
16
+
--> ui/bad_range.rs:3:13
17
17
|
18
-
4 | let _ = <bounded_integer::BoundedUsize<5, 4>>::MIN;
18
+
3 | let _ = <bounded_integer::BoundedUsize<5, 4>>::MIN;
19
19
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20
20
21
21
error[E0080]: evaluation panicked: range minimum should be less than maximum
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `main::__bounded_integer_private_X::_::<impl main::__bounded_integer_private_X::X>::MIN` failed here
26
26
|
27
27
= note: this error originates in the macro `$crate::__unsafe_api_internal` which comes from the expansion of the macro `bounded_integer::bounded_integer` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this note originates in the macro `$crate::__unsafe_api_internal` which comes from the expansion of the macro `bounded_integer::bounded_integer` (in Nightly builds, run with -Z macro-backtrace for more info)
36
36
37
37
error[E0080]: evaluation panicked: range minimum should be less than maximum
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `main::__bounded_integer_private_X::_::<impl main::__bounded_integer_private_X::X>::MAX` failed here
42
42
|
43
43
= note: this error originates in the macro `$crate::__unsafe_api_internal` which comes from the expansion of the macro `bounded_integer::bounded_integer` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this note originates in the macro `$crate::__unsafe_api_internal` which comes from the expansion of the macro `bounded_integer::bounded_integer` (in Nightly builds, run with -Z macro-backtrace for more info)
= note: this note originates in the macro `$crate::__unsafe_api_internal` which comes from the expansion of the macro `define_bounded_integers` (in Nightly builds, run with -Z macro-backtrace for more info)
28
28
29
29
note: the above error was encountered while instantiating `fn bounded_integer::types::_::<impl bounded_integer::BoundedUsize<0, 5>>::const_new::<6>`
30
-
--> ui/const_new.rs:3:13
30
+
--> ui/const_new.rs:2:13
31
31
|
32
-
3 | let _ = <bounded_integer::BoundedUsize<0, 5>>::const_new::<6>();
32
+
2 | let _ = <bounded_integer::BoundedUsize<0, 5>>::const_new::<6>();
0 commit comments