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 up[breaking batch] remove the sign from integer literals in the ast #30508
Conversation
rust-highfive
assigned
eddyb
Dec 21, 2015
This comment has been minimized.
This comment has been minimized.
|
Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @eddyb (or someone else) soon. If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes. Please see the contribution instructions for more information. |
eddyb
reviewed
Dec 21, 2015
| }); | ||
| P(ast::Expr { | ||
| id: ast::DUMMY_NODE_ID, | ||
| node: ast::ExprUnary(ast::UnNeg, lit), |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
oli-obk
force-pushed the
oli-obk:unsigned_ast
branch
from
5dfafe2
to
4c6a8ba
Dec 21, 2015
This comment has been minimized.
This comment has been minimized.
|
LGTM. r? @Manishearth for confirmal of acceptable breakage. |
rust-highfive
assigned
Manishearth
and unassigned
eddyb
Dec 21, 2015
This comment has been minimized.
This comment has been minimized.
|
This will likely cause aster breakage. I'm mostly okay with the clippy breakage this may cause (there's not much using this) |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
What's the motivation for this work? Seems like a good change to make to the HIR, not sure if it is a good change for the AST - does this conflate different source situations? ( At the least, this should be batched with other changes. |
This comment has been minimized.
This comment has been minimized.
|
@nrc Rust doesn't have |
This comment has been minimized.
This comment has been minimized.
|
The only way to get a |
This comment has been minimized.
This comment has been minimized.
|
@eddyb as in, the |
This comment has been minimized.
This comment has been minimized.
|
In which case, this sounds like a good change, but I'd still like to see it batched with other changes since it is non-urgent. |
This comment has been minimized.
This comment has been minimized.
|
Should we add some kind of github label for these PRs so it's easy to find them when we need to batch up? plugins-breaking or something |
oli-obk
force-pushed the
oli-obk:unsigned_ast
branch
2 times, most recently
from
45cd3c4
to
2bb0d02
Dec 23, 2015
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
I vote for "breaking-batch" (Apologies to Walter White) |
oli-obk
force-pushed the
oli-obk:unsigned_ast
branch
from
d2bd889
to
cdf67c6
Jan 14, 2016
and others
added some commits
Dec 23, 2015
oli-obk
force-pushed the
oli-obk:unsigned_ast
branch
from
cdf67c6
to
7fae645
Jan 17, 2016
oli-obk
changed the title
remove the sign from integer literals in the ast
[breaking batch] remove the sign from integer literals in the ast
Jan 25, 2016
This comment has been minimized.
This comment has been minimized.
|
This has been rebased, is it ready to go? |
This comment has been minimized.
This comment has been minimized.
|
@oli-obk want to uplift this to the mega-breaking-batch PR? Since that will probably bitrot this when it lands. |
This comment has been minimized.
This comment has been minimized.
already done |
oli-obk commentedDec 21, 2015
r? @eddyb