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

Add a lint to detect unnecessarily qualified names #7706

Closed
wants to merge 2 commits into from

Conversation

sanxiyn
Copy link
Member

@sanxiyn sanxiyn commented Jul 11, 2013

Fix #2551.

Lint is off by default because I didn't bother to fix all of std and extra.

@alexcrichton
Copy link
Member

I've seen very bad things that happen to lints which are turned off by default. They very quickly bitrot and start turning up false positives or are just generally not very useful (so no one ends up turning it on). I think the best way to prevent this is to add some tests to compile-fail exercising this lint mode.

@sanxiyn
Copy link
Member Author

sanxiyn commented Jul 11, 2013

Added a test.

bors added a commit that referenced this pull request Jul 12, 2013
Fix #2551.

Lint is off by default because I didn't bother to fix all of std and extra.
@bors bors closed this Jul 12, 2013
flip1995 pushed a commit to flip1995/rust that referenced this pull request Apr 21, 2022
…rednet

Fix `unsound_collection_transmute`

fixes rust-lang#7706

changelog: Better check size and alignment requirements in `unsound_collection_transmute`
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.

Lint pass to flag unneeded qualified names
4 participants