rust/src/librustc/driver
Niko Matsakis 96dfed2b62 Pre-step towards issue #12624 and others: Introduce ExprUseVisitor, remove the
moves computation. ExprUseVisitor is a visitor that walks the AST for a
function and calls a delegate to inform it where borrows, copies, and moves
occur.

In this patch, I rewrite the gather_loans visitor to use ExprUseVisitor, but in
future patches, I think we could rewrite regionck, check_loans, and possibly
other passes to use it as well. This would refactor the repeated code between
those places that tries to determine where copies/moves/etc occur.
2014-04-24 19:59:49 -04:00
..
driver.rs Pre-step towards issue #12624 and others: Introduce ExprUseVisitor, remove the 2014-04-24 19:59:49 -04:00
mod.rs librustc: De-export driver. rs=deexport 2013-01-29 15:16:43 -08:00
session.rs Enable use of syntax extensions when cross compiling. 2014-04-23 20:33:54 +01:00