resolve capture clauses
This commit is contained in:
parent
b0f1a5f051
commit
b2b2a430df
6 changed files with 49 additions and 30 deletions
|
|
@ -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 = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue