Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
lint: add method to get level of a specific lint.
This allows lint traversals to emit more information (when a lint is non-allow), or avoid doing expensive computations (when a lint is allow).
- Loading branch information
46a3314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
saw approval from pnkfelix
at huonw@46a3314
46a3314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
merging huonw/rust/lint-level-here = 46a3314 into auto
46a3314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
huonw/rust/lint-level-here = 46a3314 merged ok, testing candidate = 5ddc7b4
46a3314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all tests pass:
success: http://buildbot.rust-lang.org/builders/auto-mac-32-opt/builds/391
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/392
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/391
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/392
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/394
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/395
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/394
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/400
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/395
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/394
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android-t/builds/397
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/395
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/395
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/396
46a3314
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fast-forwarding master to auto = 5ddc7b4