Consistently use "allowed" rather than "permitted" in error messages.
This commit is contained in:
parent
fa3dbb7f73
commit
d5563d732d
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ fn ast_path_to_substs_and_ty<AC: ast_conv, RS: region_scope copy>(
|
|||
(false, some(_)) {
|
||||
tcx.sess.span_err(
|
||||
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",
|
||||
ty::item_path_str(tcx, did)]);
|
||||
none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue