-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Typechecking doesn't enforce communication immutability requirements #568
Comments
The only thing left to do here is immutable closures (fn~) or bare functions |
Depends on #1022 |
Done. |
keeperofdakeys
pushed a commit
to keeperofdakeys/rust
that referenced
this issue
Dec 12, 2017
Add MINSIGSTKSZ constant to linux sources MINSIGSTKSZ is a minimum size of process stack allowed
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Nov 5, 2020
- Implement `field_reassign_with_default` as a `LateLintPass` - Avoid triggering `default_trait_access` on a span already linted by `field_reassigned_with_default` - Merge `default_trait_access` and `field_reassign_with_default` into `Default` - Co-authored-by: Eduardo Broto <ebroto@tutanota.com> - Fixes rust-lang#568
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Nov 5, 2020
Add lint for 'field_reassign_with_default` rust-lang#568 changelog: Add lint for field_reassign_with_default that checks if mutable object + field modification is used to edit a binding initialized with Default::default() instead of struct constructor. Fixes rust-lang#568 Notes: - Checks for reassignment of one or more fields of a binding initialized with Default::default(). - Implemented using EarlyLintPass, might be future proofed better with LateLintPass. - Does not trigger if Default::default() is used via another type implementing Default. - This is a re-open of [PR#4761](rust-lang/rust-clippy#4761), but I couldn't figure out how to re-open that one so here's a new one with the requested changes :S
ZuseZ4
pushed a commit
to EnzymeAD/rust
that referenced
this issue
Mar 7, 2023
antoyo
added a commit
to antoyo/rust
that referenced
this issue
Jan 13, 2025
Update GCC version with the removal of supports_128bit_int
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It looks like we'll still attempt to compile attempts to send mutable data on channels or in spawn arguments. This should be disallowed.
The text was updated successfully, but these errors were encountered: