about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-31 20:36:17 -0700
committerbors <bors@rust-lang.org>2013-10-31 20:36:17 -0700
commit1bbd4afb4ae5503bc04a7f500bc8ade6e1db0854 (patch)
tree8b86c1625c291326cca2d9a92b973df74c178e3d
parentd04a58cf2d224f6e0ae69334f90a9013ae2ba35a (diff)
parent6a33cc244aff1e8f059a9b67bf581bec69d27924 (diff)
downloadrust-1bbd4afb4ae5503bc04a7f500bc8ade6e1db0854.tar.gz
rust-1bbd4afb4ae5503bc04a7f500bc8ade6e1db0854.zip
auto merge of #10181 : brson/rust/managed_boxes, r=thestinger
-rw-r--r--src/librustc/front/feature_gate.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/librustc/front/feature_gate.rs b/src/librustc/front/feature_gate.rs
index c17d6cabfed..c4337abb740 100644
--- a/src/librustc/front/feature_gate.rs
+++ b/src/librustc/front/feature_gate.rs
@@ -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.");
             }
             _ => {}
         }