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

Deny warnings in stage1+ libsyntax/librustc/librustdoc/librusti/librust #8441

Closed
wants to merge 4 commits into from

Conversation

erickt
Copy link
Contributor

@erickt erickt commented Aug 10, 2013

This patch makes sure that code is warning-free for all of the rust libraries.

@brson
Copy link
Contributor

brson commented Aug 11, 2013

nice

@graydon
Copy link
Contributor

graydon commented Aug 11, 2013

Oh so nice! Thanks for this.

@alexcrichton
Copy link
Member

Could you throw this on compiletest as well?

@erickt
Copy link
Contributor Author

erickt commented Aug 11, 2013

@alexcrichton: thanks for the idea! I updated the PR to HEAD (which required me to fix a warning) and enabled warnings on the tests.

@erickt
Copy link
Contributor Author

erickt commented Aug 11, 2013

@alexcrichton: you're right, I'm hitting a lot of failures in the tests. Is it possible to r- this until I fix all the tests?

@alexcrichton
Copy link
Member

Sure thing. I'm personally in favor of having deny(warnings) be a compiler-default, but that's probably just me :)

@alexcrichton
Copy link
Member

Also, once you've fixed all the tests, feel free to r=me p=100 on this pull

@erickt
Copy link
Contributor Author

erickt commented Aug 11, 2013

This PR isn't ready for merging yet, I just pushed up this code to prevent bors from building it.

@alexcrichton
Copy link
Member

Is this good for another go-round? It doesn't appear to have any merge conflicts...

@erickt
Copy link
Contributor Author

erickt commented Aug 16, 2013

@alexcrichton: At this point I'm just racing other PRs. If I don't land soon, I'll split out my changes to the tests from my modifications to the makefiles.

@pcwalton
Copy link
Contributor

I'm not sure about this. I worry that this is going to increase our bounce rate significantly for little gain in code quality.

bors added a commit that referenced this pull request Aug 17, 2013
This patch makes sure that code is warning-free for all of the rust libraries.
@bors bors closed this Aug 17, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Feb 24, 2022
Don't lint `needless_borrow` in method receiver positions

fixes rust-lang#8408
fixes rust-lang#8407
fixes rust-lang#8391
fixes rust-lang#8367
fixes rust-lang#8380

This is a temporary fix for `needless_borrow`. The proper fix is included in rust-lang#8355.

This should probably be merged into rustc before beta branches on Friday. This issue has been reported six or seven times in the past couple of weeks.

changelog: Fix various issues with `needless_borrow` n´. Note to changelog writer: those issues might have been introduced in this release cycle, so this might not matter in the changelog.
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.

6 participants