mention Gc
in the managed box feature gate
This commit is contained in:
parent
747213a280
commit
d97ce15c14
1 changed files with 3 additions and 5 deletions
|
@ -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.");
|
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue