1
Fork 0

mention Gc in the managed box feature gate

This commit is contained in:
Daniel Micay 2013-11-22 06:54:33 -05:00
parent 747213a280
commit d97ce15c14

View file

@ -141,11 +141,9 @@ impl Visitor<()> for Context {
}, },
ast::ty_box(_) => { ast::ty_box(_) => {
self.gate_feature("managed_boxes", t.span, self.gate_feature("managed_boxes", t.span,
"The managed box syntax will be replaced \ "The managed box syntax is being replaced by the `std::gc::Gc`
by a library type, and a garbage \ and `std::rc::Rc` types. Equivalent functionality to managed
collector is not yet implemented. \ trait objects will be implemented but is currently missing.");
Consider using the `std::rc::Rc` type \
for reference counted pointers.");
} }
_ => {} _ => {}
} }