We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0ae4b97 commit 8bcfabaCopy full SHA for 8bcfaba
src/librustc/middle/typeck/check/mod.rs
@@ -2651,7 +2651,7 @@ fn check_expr_with_unifier(fcx: &FnCtxt,
2651
let error = if vst == ast::ExprVstoreSlice {
2652
"`&\"string\"` has been removed; use `\"string\"` instead"
2653
} else {
2654
- "`~\"string\"` has been removed; use `\"string\".to_string()` instead"
+ "`box \"string\"` has been removed; use `\"string\".to_string()` instead"
2655
};
2656
tcx.sess.span_err(expr.span, error);
2657
ty::mk_err()
0 commit comments