Uh oh!
There was an error while loading. Please reload this page.
macros: fix bug in collecting trait and impl items with derives. - #44757
Merged
Conversation
nikomatsakis
commented
Sep 21, 2017
Contributor
Nominating for backport because fixes a stable-to-beta regression (#43023). |
Contributor
|
jseyfriedforce-pushed
the
fix_bad_derive_collection
branch
from
September 21, 2017 20:47
da99d8a to
7ba7021Comparenrc
commented
Sep 21, 2017
Member
@bors: r+ |
bors
commented
Sep 21, 2017
Collaborator
📌 Commit 7ba7021 has been approved by |
bors
commented
Sep 23, 2017
Collaborator
bors
commented
Sep 23, 2017
Collaborator
💔 Test failed - status-travis |
kennytm
requested changes
Sep 23, 2017
| struct S; | ||
| impl S { | ||
| #[derive(Debug)] //~ ERROR `derive` can be only be applied to items |
Member
There was a problem hiding this comment.
Please update the error messages.
[00:55:08] ---- [compile-fail] compile-fail/issue-43023.rs stdout ----
[00:55:08] [00:55:08] error: /checkout/src/test/compile-fail/issue-43023.rs:14: unexpected "error": '14:5: 14:21: `derive` may only be applied to structs, enums and unions'
[00:55:08] [00:55:08] error: /checkout/src/test/compile-fail/issue-43023.rs:21: unexpected "error": '21:5: 21:21: `derive` may only be applied to structs, enums and unions'
[00:55:08] [00:55:08] error: /checkout/src/test/compile-fail/issue-43023.rs:26: unexpected "error": '26:5: 26:21: `derive` may only be applied to structs, enums and unions'
[00:55:08] [00:55:08] error: 3 unexpected errors found, 0 expected errors not found
jseyfriedforce-pushed
the
fix_bad_derive_collection
branch
from
September 25, 2017 22:47
7ba7021 to
8bc49e7Comparejseyfriedforce-pushed
the
fix_bad_derive_collection
branch
from
September 26, 2017 01:22
8bc49e7 to
375332cComparejseyfried
commented
Sep 26, 2017
ContributorAuthor
@bors r=nrc |
bors
commented
Sep 26, 2017
Collaborator
📌 Commit 375332c has been approved by |
alexcrichton
commented
Sep 26, 2017
Member
@bors: p=1 fixing a regression and beta-accepted |
bors
commented
Sep 26, 2017
Collaborator
bors
commented
Sep 27, 2017
Collaborator
☀️ Test successful - status-appveyor, status-travis |
nikomatsakis
commented
Sep 28, 2017
Contributor
Backporting to beta. |
bors added a commit
that referenced
this pull request
Sep 28, 2017
Beta 20170928 Backports of: - Allow unused extern crate again #44825 - macros: fix bug in collecting trait and impl items with derives. #44757 - `--cap-lints allow` switches off `can_emit_warnings` #44627 - Update the libc submodule #44116 - limit and clear cache obligations opportunistically #44269 - clear out projection subobligations after they are processed #43999
bors added a commit
that referenced
this pull request
Oct 7, 2017
Beta 20170928 Backports of: - Allow unused extern crate again #44825 - macros: fix bug in collecting trait and impl items with derives. #44757 - `--cap-lints allow` switches off `can_emit_warnings` #44627 - Update the libc submodule #44116 - limit and clear cache obligations opportunistically #44269 - clear out projection subobligations after they are processed #43999 - fix logic error in #44269's `prune_cache_value_obligations` #45065 - REVERTS #43543: Cleanup some remains of `hr_lifetime_in_assoc_type` compatibility lint:
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 freeto 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.
Fixes#43023.
r? @nrc