diff options
| author | Brian Anderson <banderson@mozilla.com> | 2011-09-27 15:28:25 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2011-09-27 16:03:10 -0700 |
| commit | 888e22aacc5a1a666c46c6d69e40e8673bb16c87 (patch) | |
| tree | dc6a3287f995949fc3f6e94783a5d52c3f07cd20 /src/comp | |
| parent | 8217e4bd3821767131f9fb56c1f42aaf71889c43 (diff) | |
| download | rust-888e22aacc5a1a666c46c6d69e40e8673bb16c87.tar.gz rust-888e22aacc5a1a666c46c6d69e40e8673bb16c87.zip | |
Add more comments about kind checking on local move initializers
Diffstat (limited to 'src/comp')
| -rw-r--r-- | src/comp/middle/kind.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/comp/middle/kind.rs b/src/comp/middle/kind.rs index c7f37e95c8c..2e117723f03 100644 --- a/src/comp/middle/kind.rs +++ b/src/comp/middle/kind.rs @@ -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 */ } } |
