Skip to content

Commit 888e22a

Browse files
committed
Add more comments about kind checking on local move initializers
1 parent 8217e4b commit 888e22a

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/comp/middle/kind.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ fn check_stmt(tcx: ty::ctxt, stmt: @ast::stmt) {
204204
"local initializer");
205205
}
206206
option::some({op: ast::init_move., expr}) {
207-
// FIXME: Same as above
207+
// FIXME: Should be as above but moving may be the
208+
// only way available currently to assign a resource
209+
// to a local.
208210
}
209211
option::none. { /* fall through */ }
210212
}

0 commit comments

Comments
 (0)