Consistently use "allowed" rather than "permitted" in error messages.
This commit is contained in:
parent
fa3dbb7f73
commit
d5563d732d
|
@ -100,7 +100,7 @@ fn ast_path_to_substs_and_ty<AC: ast_conv, RS: region_scope copy>(
|
||||||
(false, some(_)) {
|
(false, some(_)) {
|
||||||
tcx.sess.span_err(
|
tcx.sess.span_err(
|
||||||
path.span,
|
path.span,
|
||||||
#fmt["no region bound is permitted on %s, \
|
#fmt["no region bound is allowed on `%s`, \
|
||||||
which is not declared as containing region pointers",
|
which is not declared as containing region pointers",
|
||||||
ty::item_path_str(tcx, did)]);
|
ty::item_path_str(tcx, did)]);
|
||||||
none
|
none
|
||||||
|
|
Loading…
Reference in a new issue