-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Collect various one-off analysis tidbits into a 'lint' pass #1543
Comments
This patch starts from move the analysis which checkes of probably incorrectly usage of `int|uint` in native fn. Issue rust-lang#1543
Also as discussed on IRC, a crate attribute will be added for switching the various one-off analyses. For example: |
This patch starts from move the analysis which checkes of probably incorrectly usage of `int|uint` in native fn. Issue #1543
A crate attribute like `#[lint(no_ctypes)]` can now be used to turn off ctypes checking. Issue #1543
We discussed this a bit during a meeting today, in terms of the ability to control warnings and errors by attribute. I think the consensus was to make most warnings-and-errors controllable via an attribute, perhaps |
Punting on this for 0.2 |
Assigned to myself. Looks like I'll finally find some time work on Rust. :) |
As far as I can tell, this is finished? If it's not, please open more specific individual bugs. |
* Move build docs script to be under scripts/ * Add RFC book and an RFC template * Build rfc book as part of build docs . Co-authored-by: Jaisurya Nanduri <[email protected]> Co-authored-by: Daniel Schwartz-Narbonne <[email protected]> Co-authored-by: Adrian Palacios <[email protected]>
I don't really feel that little things like #1539 should be buried in semi-arbitrary passes that have other important responsibilities. These little nice-to-have checks should probably be corralled somewhere where they can be switched on and off in an orderly way.
Edit: changed pass name to "lint", as discussed on IRC
The text was updated successfully, but these errors were encountered: