Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upBad syntax in macro_rules! macro definition causes an ICE in beta and nightly, but not stable #30669
Comments
sfackler
added
regression-from-stable-to-beta
A-macros
labels
Jan 1, 2016
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
I'll take a look if no one is on it. |
GuillaumeGomez
referenced this issue
Jan 4, 2016
Merged
Add test for "malformed macro lhs" and change back span_bug to span_fatal #30708
bors
added a commit
that referenced
this issue
Jan 5, 2016
This comment has been minimized.
This comment has been minimized.
Sean1708
commented
Jan 5, 2016
|
Possibly related, this code causes an ICE on nightly, but not on beta or stable. |
This comment has been minimized.
This comment has been minimized.
|
@Sean1708 Looks like a different bug to me |
This comment has been minimized.
This comment has been minimized.
Sean1708
commented
Jan 5, 2016
|
@jonas-schievink Thanks, I'll open a new issue then. |
This comment has been minimized.
This comment has been minimized.
|
@Sean1708 When you do can you link it from here? It needs to be tagged as a regression. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
@jonas-schievink: I just fixed the regression and added a test, not the supposed improvement. |
This comment has been minimized.
This comment has been minimized.
|
Thanks @GuillaumeGomez! |
brson
closed this
Jan 8, 2016
This comment has been minimized.
This comment has been minimized.
|
Oh, wait, this hasn't been backported yet. I'll leave it open a bit. |
brson
reopened this
Jan 8, 2016
This comment has been minimized.
This comment has been minimized.
|
What precisely should be backported here? I cant' figure out through all the comments :) |
This comment has been minimized.
This comment has been minimized.
|
Seems like #30708 has been backported? |
This comment has been minimized.
This comment has been minimized.
|
(In #30853.) So I think we can close? |
This comment has been minimized.
This comment has been minimized.
|
@nikomatsakis: I think as well. The purpose here was to fix the regression, which is done. Unless @brson has another reason? |
niconii commentedJan 1, 2016
This code:
gives the following error on 1.5 stable (which is correct, though where it points is perhaps a little odd):
but this error on 1.6 beta and the current nightly: