-
Notifications
You must be signed in to change notification settings - Fork 0
return type sized check occurs in opaque defining env #150
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
rust-timer
added a commit
to rust-lang-ci/rust
that referenced
this issue
Feb 4, 2025
Rollup merge of rust-lang#136274 - compiler-errors:sized-wf, r=lcnr Check Sizedness of return type in WF Still need to clean this up a bit. This should fix rust-lang/trait-system-refactor-initiative#150. r? lcnr
RalfJung
pushed a commit
to RalfJung/miri
that referenced
this issue
Feb 5, 2025
Check Sizedness of return type in WF Still need to clean this up a bit. This should fix rust-lang/trait-system-refactor-initiative#150. r? lcnr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
...passes in new solver because the sized check happens during typeck, and that allows us to reveal
impl ?Sized: Sized
to(): Sized
. Not sure if that's desirable; if it's not, then we should probably move the return type sized check to wfcheck.I think it's fine that this passes, tho.
The text was updated successfully, but these errors were encountered: