]> git.lizzy.rs Git - rust.git/commit
auto merge of #17069 : eddyb/rust/visitor, r=pnkfelix
authorbors <bors@rust-lang.org>
Fri, 12 Sep 2014 13:45:41 +0000 (13:45 +0000)
committerbors <bors@rust-lang.org>
Fri, 12 Sep 2014 13:45:41 +0000 (13:45 +0000)
commit9c68679f2ebd5b165694e9346e4ad96a3e32aceb
tree46712fd21dad760e4eb815a89dbcdd04665b32ed
parente9278c92199ac46a486f476bc530bd4baec8fff9
parent7ef6ff06696c29dc956b17b9a5c57713b0c8e0cb
auto merge of #17069 : eddyb/rust/visitor, r=pnkfelix

Few visitors used the context passing feature and it can be easily emulated.
The added lifetime threading allows a visitor to keep safe references to AST
nodes it visits, making a non-owning ast_map design possible, for #13316.