On 11/19/13 11:48 AM, Philippe Delrieu wrote:
I still struggle with the json API. I try it using encode and decode API
and I face a problem.
I take this code in the json test case :
         let m = @mut MemWriter::new();
         f(m as @mut io::Writer);
and I have an error :
The managed box syntax will be replaced by a library type, and a garbage
collector is not yet implemented. Consider using the `std::rc::Rc` type
for reference counted pointers.

Add `#[feature(managed_boxes)];` to the top of your crate. The JSON and EBML APIs have not been kept well up to date with idioms used by the current version of Rust and will not work without this feature flag.

Patrick

_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to