-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Port to usize/isize in libsyntax #21340
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
r? @sfackler (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -181,9 +181,9 @@ impl Name { | |||
} | |||
} | |||
|
|||
pub fn uint(&self) -> uint { | |||
pub fn uint(&self) -> usize { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be renamed to usize.
63de920
to
3102a87
Compare
Thanks! |
D'oh. Sorry about that. Why didn't my
|
35dd579
to
7ed0023
Compare
I don't think you need java and antlr to reach that failure. It looks like it's coming from libsyntax's test, so |
7ed0023
to
3c32cd1
Compare
Yeah, I was pretty confused back there. Okay. I realized that the problem was I had messed with whitespace and therefore the spans of that parse output. So I reverted the whitespace change and fixup'd it into 7a24b3a. Force pushed the rest. Everything should be green now! |
Collaboration with @rylev! I didn't change `int` in the [quasi-quoter](https://github.com/pshc/rust/blob/99ae1a30f3ca28c0f7e431620560d30e44627124/src/libsyntax/ext/quote.rs#L328), because I'm not sure if there will be adverse effects. Addresses rust-lang#21095.
Collaboration with @rylev!
I didn't change
int
in the quasi-quoter, because I'm not sure if there will be adverse effects.Addresses #21095.