#rustlang isn't `Arc<dyn Trait>: Sized`? I'm getting a Sized error with an Impl on actix_web's `trait FromRequest: Sized {...}` With a type where `T` in `struct MyStruct<T, K>(T, K)` is `Arc<dyn Trait + 'static>`. Still unable to minimize in playground :(
-
-
The output in the playground is all I was seeing in my more complicated case. The fix was literally adding the `?Sized` bound (by uncommenting the /* comment in the minified example above). What was not obvious to me, is why that was necessary, since using the line below that
-
Sorry, I missed that you had a playground link. Yeah, it's clear you figured it out. `T` implies `T: Sized`, since that's almost always what you want.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.