-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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
Track record fields in typestate #888
Comments
Significantly more complex. I'd recommend against it. |
I now agree. |
bors
added a commit
that referenced
this issue
Apr 8, 2017
Add safe wrapper for atomic_compilerfence intrinsics This PR adds a proposed safe wrapper for the `atomic_singlethreadfence_*` intrinsics introduced by [RFC #888](rust-lang/rfcs#888). See #41091 for further discussion.
ZuseZ4
added a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
coastalwhite
pushed a commit
to coastalwhite/rust
that referenced
this issue
Aug 5, 2023
Should be fixed after landing rust-lang#75316
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It seems harmless to also allow typestate constraints to mention immutable fields of records -- for example, letting you write:
instead of
The text was updated successfully, but these errors were encountered: