-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Handle const-checks for &mut
outside of HasMutInterior
#66654
Merged
Merged
Commits on Nov 27, 2019
-
Configuration menu - View commit details
-
Copy full SHA for b0b7dc3 - Browse repository at this point
Copy the full SHA b0b7dc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6596165 - Browse repository at this point
Copy the full SHA 6596165View commit details -
Configuration menu - View commit details
-
Copy full SHA for 66e9f88 - Browse repository at this point
Copy the full SHA 66e9f88View commit details -
Update test with improved diagnostics
Now, `derived_from_illegal_borrow` is also applied to reborrows, so we don't show the user a useless error message.
Configuration menu - View commit details
-
Copy full SHA for 5a3ddcd - Browse repository at this point
Copy the full SHA 5a3ddcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a10430 - Browse repository at this point
Copy the full SHA 5a10430View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5117407 - Browse repository at this point
Copy the full SHA 5117407View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd32d91 - Browse repository at this point
Copy the full SHA dd32d91View commit details -
Configuration menu - View commit details
-
Copy full SHA for d2bdaa8 - Browse repository at this point
Copy the full SHA d2bdaa8View commit details -
Remove test for unused error code
This error code is never emitted, and the contents of this test are identical to that of `E0017.rs`.
Configuration menu - View commit details
-
Copy full SHA for 5b1e10b - Browse repository at this point
Copy the full SHA 5b1e10bView commit details
Commits on Nov 28, 2019
-
Don't treat a reference to a
static
as a reborrowThey now look the same in the MIR after rust-lang#66587.
Configuration menu - View commit details
-
Copy full SHA for a70ac50 - Browse repository at this point
Copy the full SHA a70ac50View commit details -
Update test for mutably borrowed statics in a const
This checks `static mut` as well for E0017, and blesses tests now that we emit an error for a mut deref.
Configuration menu - View commit details
-
Copy full SHA for 846be82 - Browse repository at this point
Copy the full SHA 846be82View commit details
Commits on Dec 1, 2019
-
Configuration menu - View commit details
-
Copy full SHA for ccb4eed - Browse repository at this point
Copy the full SHA ccb4eedView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.