Add more comments about kind checking on local move initializers
This commit is contained in:
parent
8217e4bd38
commit
888e22aacc
1 changed files with 3 additions and 1 deletions
|
@ -204,7 +204,9 @@ fn check_stmt(tcx: ty::ctxt, stmt: @ast::stmt) {
|
|||
"local initializer");
|
||||
}
|
||||
option::some({op: ast::init_move., expr}) {
|
||||
// FIXME: Same as above
|
||||
// FIXME: Should be as above but moving may be the
|
||||
// only way available currently to assign a resource
|
||||
// to a local.
|
||||
}
|
||||
option::none. { /* fall through */ }
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue