rustc: Start accepting *const T#14952
Merged
bors merged 1 commit intorust-lang:masterfrom Jun 24, 2014
Merged
Conversation
This does not yet change the compiler and libraries from `*T` to `*const T` as it will require a snapshot to do so. cc rust-lang#7362
bors
added a commit
that referenced
this pull request
Jun 24, 2014
This does not yet change the compiler and libraries from `*T` to `*const T` as it will require a snapshot to do so. cc #7362 --- Note that the corresponding RFC, rust-lang/rfcs#68, has not yet been accepted. It was [discussed at the last meeting](https://github.com/rust-lang/rust/wiki/Meeting-weekly-2014-06-10#rfc-pr-68-unsafe-pointers-rename-t-to-const-t) and decided to be accepted, however. I figured I'd get started on the preliminary work for the RFC that will be required regardless.
bors
added a commit
to rust-lang-ci/rust
that referenced
this pull request
Jun 5, 2023
…ative, r=HKalbasi fix: assignment operators are right associative Fixes rust-lang#14944 Assignment operators, be they simple or complex, are right associative in Rust ([reference]). We need to consider that fact when computing [binding power][bp] of infix operators. The changes in `0072_destructuring_assignment.{rs,rast}` are unexpected, but I'm pretty sure it's a typo and fixed the `.rs` file accordingly. [reference]: https://doc.rust-lang.org/reference/expressions.html#expression-precedence [bp]: https://matklad.github.io/2020/04/13/simple-but-powerful-pratt-parsing.html
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This does not yet change the compiler and libraries from
*Tto*const Tasit will require a snapshot to do so.
cc #7362
Note that the corresponding RFC, rust-lang/rfcs#68, has not yet been accepted. It was discussed at the last meeting and decided to be accepted, however. I figured I'd get started on the preliminary work for the RFC that will be required regardless.