Skip to content

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
flip1995 pushed a commit to flip1995/rust that referenced this pull request Nov 28, 2025
… expansion (rust-lang#15958)

This means some existing test cases won't get linted anymore, but imo
that's preferable to false-positives.

Fixes rust-lang/rust-clippy#14548

changelog: [`equatable_if_let`]: don't lint if pattern or initializer
come from expansion
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