]> git.lizzy.rs Git - rust.git/commit
Convert TyPolyTraitRef to accept arbitary bounds, so that things like
authorNiko Matsakis <niko@alum.mit.edu>
Sat, 15 Nov 2014 21:55:27 +0000 (16:55 -0500)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 18 Nov 2014 17:32:37 +0000 (12:32 -0500)
commitc8a94c5dfaaf5f1dacc110bb81d292c4382554d9
tree82e6306f91f24f06e8be597672f9a3c82a206300
parent9c808ffee44afad69aeeeec835601d44bf0e9147
Convert TyPolyTraitRef to accept arbitary bounds, so that things like
`Box<for<'a> Foo<&'a T> + 'a>` can be accepted. Also cleanup the visitor/fold
in general, exposing more callbacks.
src/librustc/middle/resolve.rs
src/librustc/middle/typeck/astconv.rs
src/libsyntax/ast.rs
src/libsyntax/ast_util.rs
src/libsyntax/fold.rs
src/libsyntax/parse/parser.rs
src/libsyntax/print/pprust.rs
src/libsyntax/visit.rs