Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Rewrite lint passes with less visitor cruft
This purges about 500 lines of visitor cruft from lint passes. All lints are handled in a much more sane way at this point. The other huge bonus of this commit is that there are no more @-boxes in the lint passes, fixing the 500MB memory regression seen when the lint passes were refactored. Closes #8589
- Loading branch information
c0388cd
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 thestinger
at alexcrichton@c0388cd
c0388cd
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 alexcrichton/rust/lint = c0388cd into auto
c0388cd
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.
alexcrichton/rust/lint = c0388cd merged ok, testing candidate = 9344e2a
c0388cd
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/1831
success: http://buildbot.rust-lang.org/builders/auto-mac-64-opt/builds/1835
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-c/builds/941
success: http://buildbot.rust-lang.org/builders/auto-mac-64-nopt-t/builds/940
success: http://buildbot.rust-lang.org/builders/auto-linux-32-opt/builds/1849
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-c/builds/941
success: http://buildbot.rust-lang.org/builders/auto-linux-32-nopt-t/builds/941
success: http://buildbot.rust-lang.org/builders/auto-linux-64-opt/builds/1850
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-c/builds/941
success: http://buildbot.rust-lang.org/builders/auto-linux-64-nopt-t/builds/941
success: http://buildbot.rust-lang.org/builders/auto-linux-64-x-android/builds/1021
success: http://buildbot.rust-lang.org/builders/auto-win-32-opt/builds/1834
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-c/builds/940
success: http://buildbot.rust-lang.org/builders/auto-win-32-nopt-t/builds/941
success: http://buildbot.rust-lang.org/builders/auto-bsd-64-opt/builds/1619
c0388cd
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 = 9344e2a