Rust thinks std::marker::Sized differ from std::marker::Sized #44835
Labels
A-diagnostics
Area: Messages for errors, warnings, and lints
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
gives this error
The note
...so that types are compatible (expected std::marker::Sized, found std::marker::Sized)
does not seem correct. This error is likely due to the function having two&'a I: Sized
bounds where's
have two different lifetimes, see #21974.The text was updated successfully, but these errors were encountered: