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
reports error: overflow evaluating the requirement i32 : core::marker::Sized [E0275]. While this code certainly shouldn't work, I would not expect proving i32: Sized to be the problematic part.
(This is similar to #23714, but I think that's about the example failing to compile rather than the nonsense error.)
The text was updated successfully, but these errors were encountered:
Today's error message is quite a bit more clear, I think, since it indicates that the problem is with this piece of code and with what expansion. As such, I'm going to go ahead and close this.
error: reached the recursion limit while instantiating `<T as A><X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<X<i32>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>::foo`
--> test.rs:10:5
|
10 | / fn foo(self) {
11 | | X(self).foo() // <-- error points here
12 | | }
| |_____^
reports
error: overflow evaluating the requirement
i32 : core::marker::Sized[E0275]
. While this code certainly shouldn't work, I would not expect provingi32: Sized
to be the problematic part.(This is similar to #23714, but I think that's about the example failing to compile rather than the nonsense error.)
The text was updated successfully, but these errors were encountered: