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

Make the getter for NonZero types into a const fn #57167

Merged
merged 2 commits into from Dec 28, 2018

Conversation

Projects
None yet
6 participants
@Dylan-DPC
Copy link
Member

Dylan-DPC commented Dec 28, 2018

Closes #53331

Rework of #56739

cc @Lokathor

r? @oli-obk

Update src/test/ui/consts/const-nonzero.rs
Co-Authored-By: Dylan-DPC <dylan.dpc@gmail.com>
@SimonSapin

This comment has been minimized.

Copy link
Contributor

SimonSapin commented Dec 28, 2018

FCP in #56739 isn’t quite finished, but this feels uncontroversial enough.

@bors r+

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 28, 2018

📌 Commit 39f95fa has been approved by SimonSapin

@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 28, 2018

⌛️ Testing commit 39f95fa with merge 3cda631...

bors added a commit that referenced this pull request Dec 28, 2018

Auto merge of #57167 - Dylan-DPC:feature/non-zero-getters, r=SimonSapin
Make the getter for NonZero types into a const fn

Closes #53331

Rework of #56739

cc @Lokathor

r? @oli-obk
@bors

This comment has been minimized.

Copy link
Contributor

bors commented Dec 28, 2018

☀️ Test successful - status-appveyor, status-travis
Approved by: SimonSapin
Pushing 3cda631 to master...

@bors bors merged commit 39f95fa into rust-lang:master Dec 28, 2018

2 checks passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
homu Test successful
Details

@Centril Centril added the T-libs label Jan 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment