Uh oh!
There was an error while loading. Please reload this page.
[beta] Give a better error message for unknown derive messages - #39444
Conversation
rust-highfive
commented
Feb 1, 2017
b1e5cbf to
17605a1Comparealexcrichton
commented
Feb 1, 2017
As a note to reviewers on this PR, we're not able to use @bors to approve branches going to beta, and it's in fact highly recommended to do so! (just to avoid hitting the merge button) |
nikomatsakis
commented
Feb 1, 2017
You wrote (emphasis mine):
Did you mean: "we're NOW able"? |
alexcrichton
commented
Feb 1, 2017
Ooops, yes! To clarify @bors should be used to approve this PRTo be fair the "t" and "w" keys are ... not at all close to each other. |
nikomatsakis
commented
Feb 2, 2017
I'm a bit confused, what is this a backport of? And which beta does it have to land in? |
keeperofdakeys
commented
Feb 2, 2017
On 1.15, the code |
jseyfried
commented
Feb 2, 2017
@bors r+ |
bors
commented
Feb 2, 2017
📌 Commit c3f9075 has been approved by |
alexcrichton
commented
Feb 4, 2017
@bors: p=1 (PR against beta branch) |
bors
commented
Feb 4, 2017
⌛ Testing commit c3f9075 with merge 8fc0085... |
bors
commented
Feb 5, 2017
💔 Test failed - status-travis |
alexcrichton
commented
Feb 5, 2017
brson
commented
Feb 5, 2017
It might be prudent to wait still for patches to land on master before letting bors try to land them on beta, in case there are problems with the patch. |
alexcrichton
commented
Feb 6, 2017
@bors r=jseyfried |
bors
commented
Feb 6, 2017
📌 Commit 6519e8b has been approved by |
bors
commented
Feb 6, 2017
[beta] Give a better error message for unknown derive messages This PR improves the error message for unknown derive macros. Currently unknown derives give the following error, which is very misleading: ``` `#[derive]` for custom traits is not stable enough for use. It is deprecated and will be removed in v1.15 (see issue #29644) ``` I'm currently working on a PR that will change this (#39442) to the following: ``` cannot find derive macro `Foo` in this scope ``` This PR backports the (as yet unmerged) error message to beta/1.16 (it's a pity that this is probably too late for 1.15). r? @jseyfried
bors
commented
Feb 6, 2017
☀️ Test successful - status-appveyor, status-travis |
This PR improves the error message for unknown derive macros.
Currently unknown derives give the following error, which is very misleading:
I'm currently working on a PR that will change this (#39442) to the following:
This PR backports the (as yet unmerged) error message to beta/1.16 (it's a pity that this is probably too late for 1.15).
r? @jseyfried