Implement phantom variance markers#135807
Conversation
This comment has been minimized.
This comment has been minimized.
caed822 to
3166da0
Compare
3166da0 to
c558d94
Compare
Sky9x
left a comment
There was a problem hiding this comment.
Correct me if I'm wrong, but I think these should be the other way around
c558d94 to
ff415fe
Compare
|
Swapped the descriptions so as to be correct, reworded them a bit for clarity, and added an example (contrived as it may be). |
|
I never remember which variance is which, so hopefully a random roll will find someone who does 🤞 r? libs |
|
In the ACP, we suggested making these types work like |
|
Why should that be a blocker? It's backwards compatible to eliminate the need for |
|
While it is backwards-compatible, we are generally reluctant to stabilize functions that we known are going to be deprecated eventually. In any case, this PR is fine for an initial implementation. |
ff415fe to
b3a5d0a
Compare
|
Gotcha. I'll add that as an unresolved question in the tracking issue. |
|
@bors r+ |
ACP accepted rust-lang/libs-team#488
Tracking issue #135806