]> git.lizzy.rs Git - rust.git/commitdiff
auto merge of #4922 : jbclements/rust/add-deriving-eq-to-asts, r=catamorphism
authorbors <bors@rust-lang.org>
Thu, 14 Feb 2013 02:49:29 +0000 (18:49 -0800)
committerbors <bors@rust-lang.org>
Thu, 14 Feb 2013 02:49:29 +0000 (18:49 -0800)
r?

Apply deriving_eq to the data structures in ast.rs, and get rid of the custom definitions of eq that were everywhere. resulting ast.rs is about 400 lines shorter.

Also: add a few test cases and a bunch of comments.

Also: change ast_ty_to_ty_cache to use node ids rather than ast::ty's. I believe this was a suggestion related to my changes, and it appears to pass all tests.

Also: tiny doc fix, remove references to crate keywords.

1  2 
src/librustc/middle/ty.rs
src/libsyntax/ast.rs
src/libsyntax/codemap.rs
src/libsyntax/parse/parser.rs
src/libsyntax/parse/token.rs

Simple merge
Simple merge
Simple merge
Simple merge
Simple merge