Skip to content

Commit

Permalink
auto merge of rust-lang#10181 : brson/rust/managed_boxes, r=thestinger
Browse files Browse the repository at this point in the history
  • Loading branch information
bors committed Nov 1, 2013
2 parents d04a58c + 6a33cc2 commit 1bbd4af
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/librustc/front/feature_gate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,12 +140,12 @@ impl Visitor<()> for Context {

},
ast::ty_box(_) => {
self.gate_feature("managed_boxes", t.span, "The managed box syntax may be replaced \
by a library type, and a garbage \
collector is not yet implemented. \
Consider using the `std::rc` module \
as it performs much better as a \
reference counting implementation.");
self.gate_feature("managed_boxes", t.span,
"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.");
}
_ => {}
}
Expand Down

0 comments on commit 1bbd4af

Please sign in to comment.