]> git.lizzy.rs Git - rust.git/commitdiff
add FIXME to `Steal`
authorNiko Matsakis <niko@alum.mit.edu>
Tue, 2 May 2017 17:59:15 +0000 (13:59 -0400)
committerNiko Matsakis <niko@alum.mit.edu>
Tue, 2 May 2017 20:21:58 +0000 (16:21 -0400)
src/librustc/ty/steal.rs

index fd611266f0836b65fe2c62e6036efcb870e83cdc..0b0818888812f1700db4c8d4caf8b115b1e1ba3d 100644 (file)
@@ -29,6 +29,8 @@
 /// Obviously, whenever you have a query that yields a `Steal` value,
 /// you must treat it with caution, and make sure that you know that
 /// -- once the value is stolen -- it will never be read from again.
+///
+/// FIXME(#41710) -- what is the best way to model linear queries?
 pub struct Steal<T> {
     value: RefCell<Option<T>>
 }