Repository navigation
Conversation
| // FIXME(fmease): This is a temporary HACK; rework it. In the next solver, | ||
| // we normalize structurally meaning opaque types "remain behind" weak | ||
| // aliases. I kind of want to expand_weak_alias_tys this but that's | ||
| // pretty hacky, too. |
There was a problem hiding this comment.
The HACK mentioned in the PR description.
There was a problem hiding this comment.
Yeah 🤔 I don't really know what to do here. I feel like ideally we potentially don't need to recompute things here and report an error using only the original uncovered type as this folder is somewhat :/
I am personally fine with slightly regressing diagnostics here if necessary for that, but don't have a clear idea of how bad this would be
| ControlFlow::Break(OrphanCheckEarlyExit::LocalTy(ty)) | ||
| } | ||
| } else { | ||
| // Regarding *opaque types* specifically, we choose to treat them as non-local, |
There was a problem hiding this comment.
We probably want to bring back some of these nicely written points.
This comment was marked as resolved.
This comment was marked as resolved.
21c0272 to
aba5f47
Compare
This comment was marked as resolved.
This comment was marked as resolved.
111194c to
41273fc
Compare
This comment has been minimized.
This comment has been minimized.
41273fc to
79c9083
Compare
|
☔ The latest upstream changes (presumably #157863) made this pull request unmergeable. Please resolve the merge conflicts. |
…kh726 Slightly improve diagnostic impl+output for uncovered type parameters Split out of PR rust-lang#135910. No behavioral changes. See individual commit messages for details.
Slightly improve diagnostic impl+output for uncovered type parameters Split out of PR #135910. No behavioral changes. See individual commit messages for details.
…kh726 Slightly improve diagnostic impl+output for uncovered type parameters Split out of PR rust-lang#135910. No behavioral changes. See individual commit messages for details.
Slightly improve diagnostic impl+output for uncovered type parameters Split out of PR #135910. No behavioral changes. See individual commit messages for details.
…kh726 Slightly improve diagnostic impl+output for uncovered type parameters Split out of PR rust-lang#135910. No behavioral changes. See individual commit messages for details.
Fixes #130978.
Fixes #136188.
TODO: Fix blocking
FIXME(fmease)s.TODO: Clean up tests.
Feel free to review already though!
r? lcnr