A bunch of nits fixed, and a new test for pretty printing the AST.
For more information about how rustc works, see the rustc dev guide.