restore emplacement syntax (obsolete)#51052
Merged
bors merged 2 commits intorust-lang:masterfrom May 26, 2018
Merged
Conversation
Contributor
|
The job Click to expand the log.I'm a bot! I can only do what humans tell me to, so if this was not helpful or you have suggestions for improvements, please ping or otherwise contact |
| let (span, e) = self.interpolated_or_expr_span(e)?; | ||
| (lo.to(span), ExprKind::AddrOf(m, e)) | ||
| } | ||
| token::Ident(..) if self.token.is_keyword(keywords::In) => { |
Contributor
There was a problem hiding this comment.
Wat.
I thought we removed the in version, like, years ago.
| ExprKind::ObsoleteInPlace(..) => { | ||
| self.err_handler() | ||
| .struct_span_err(expr.span, "emplacement syntax is obsolete (for now, anyway)") | ||
| .note("for more information, see <https://github.com/rust-lang/rust/issues/27779#issuecomment-378416911>") |
Contributor
|
r=me after fixing tidy |
Contributor
Author
|
@bors r=petrochenkov |
Collaborator
|
📌 Commit 626818f has been approved by |
Member
|
@bors p=1 (needs to be backported to beta) |
Collaborator
bors
added a commit
that referenced
this pull request
May 26, 2018
restore emplacement syntax (obsolete) Fix #50832 r? @petrochenkov
Collaborator
|
☀️ Test successful - status-appveyor, status-travis |
emilyalbini
added a commit
to emilyalbini/rust
that referenced
this pull request
May 28, 2018
bors
added a commit
that referenced
this pull request
Jun 1, 2018
[beta] Process backports Merged and approved: * #50812: Fix issue #50811 (`NaN > NaN` was true). * #50827: Update LLVM to `56c931901cfb85cd6f7ed44c7d7520a8de1edf97` * #50879: Fix naming conventions for new lints * #51011: rustdoc: hide macro export statements from docs * #51051: prohibit turbofish in `impl Trait` methods * #51052: restore emplacement syntax (obsolete) * #51146: typeck: Do not pass the field check on field error * #51235: remove notion of Implicit derefs from mem-cat r? @ghost
emilyalbini
added a commit
to emilyalbini/rust
that referenced
this pull request
Jun 3, 2018
bors
added a commit
that referenced
this pull request
Jun 3, 2018
[beta] Process backports Merged and approved: * #50812: Fix issue #50811 (`NaN > NaN` was true). * #50879: Fix naming conventions for new lints * #51011: rustdoc: hide macro export statements from docs * #51051: prohibit turbofish in impl Trait methods * #51052: restore emplacement syntax (obsolete) * #51146: typeck: Do not pass the field check on field error * #51235: remove notion of Implicit derefs from mem-cat r? @ghost
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.
Fix #50832
r? @petrochenkov