resolve capture clauses

This commit is contained in:
Niko Matsakis 2011-12-17 21:12:30 -08:00
parent b0f1a5f051
commit b2b2a430df
6 changed files with 49 additions and 30 deletions

View file

@ -347,12 +347,9 @@ fn mk_test_wrapper(cx: test_ctxt,
body: wrapper_body
};
let wrapper_capture: @ast::capture = @{
node: {
copies: [],
moves: []
},
span: span
let wrapper_capture: @ast::capture_clause = @{
copies: [],
moves: []
};
let wrapper_expr: ast::expr = {