Skip to content

Fix display of -NaN% in borrowck stats caused by div by zero #15958

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

Merged
merged 1 commit into from
Jul 25, 2014

Conversation

hirschenberger
Copy link
Contributor

rustc -Z borrowck-stats displays ugly -NaN% in the stats

paths requiring guarantees: 0
paths requiring loans     : 0 (-NaN%)
paths requiring imm loans : 0 (-NaN%)
stable paths              : 0 (-NaN%)

@lilyball lilyball changed the title Fix display of -NaN% in borrock stats caused by div by zero Fix display of -NaN% in borrowck stats caused by div by zero Jul 25, 2014
@hirschenberger
Copy link
Contributor Author

@alexcrichton Seems like the buildbot had a problem.

@hirschenberger
Copy link
Contributor Author

Buildbot is still messed up

bors added a commit that referenced this pull request Jul 25, 2014
… r=alexcrichton

`rustc -Z borrowck-stats` displays ugly `-NaN%` in the stats

```
paths requiring guarantees: 0
paths requiring loans     : 0 (-NaN%)
paths requiring imm loans : 0 (-NaN%)
stable paths              : 0 (-NaN%)
```
@bors bors closed this Jul 25, 2014
@bors bors merged commit 4ca1277 into rust-lang:master Jul 25, 2014
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.

4 participants