We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 623daf6 commit 6a33cc2Copy full SHA for 6a33cc2
src/librustc/front/feature_gate.rs
@@ -140,12 +140,12 @@ impl Visitor<()> for Context {
140
141
},
142
ast::ty_box(_) => {
143
- self.gate_feature("managed_boxes", t.span, "The managed box syntax may be replaced \
144
- by a library type, and a garbage \
145
- collector is not yet implemented. \
146
- Consider using the `std::rc` module \
147
- as it performs much better as a \
148
- 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.");
149
}
150
_ => {}
151
0 commit comments