Skip to content
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

Update suffixes for integer literals #22497

Merged
merged 8 commits into from
Feb 19, 2015
Merged

Conversation

nikomatsakis
Copy link
Contributor

The old suffixes now issue warnings unless a feature-gate is given (initially I made it an error, but softened the rules in the final commit).

Fixes #22496.

r? @alexcrichton

they are used without a feature-gate. This is both kinder to existing
code and should make it easier to land this PR, since we don't
have to catch EVERY SINGLE SUFFIX.
@alexcrichton
Copy link
Member

@bors: r+ 811c48f p=1

alexcrichton added a commit to alexcrichton/rust that referenced this pull request Feb 19, 2015
Conflicts:
	src/librustc_trans/trans/tvec.rs
@bors
Copy link
Contributor

bors commented Feb 19, 2015

⌛ Testing commit 811c48f with merge d2e4518...

@bors
Copy link
Contributor

bors commented Feb 19, 2015

💔 Test failed - auto-linux-64-x-android-t

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Feb 19, 2015

⌛ Testing commit 811c48f with merge 3ec41a9...

@bors
Copy link
Contributor

bors commented Feb 19, 2015

💔 Test failed - auto-linux-64-x-android-t

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Feb 19, 2015

⌛ Testing commit 811c48f with merge e6aff5d...

@bors
Copy link
Contributor

bors commented Feb 19, 2015

💔 Test failed - auto-linux-64-nopt-t

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Feb 19, 2015

⌛ Testing commit 811c48f with merge 149f002...

bors added a commit that referenced this pull request Feb 19, 2015
The old suffixes now issue warnings unless a feature-gate is given.

Fixes #22496.

r? @alexcrichton
@bors bors merged commit 811c48f into rust-lang:master Feb 19, 2015
@nikomatsakis nikomatsakis deleted the suffixes branch March 30, 2016 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change suffixes to isize and usize
4 participants