Skip to content

Commit d5563d7

Browse files
committed
Consistently use "allowed" rather than "permitted" in error messages.
1 parent fa3dbb7 commit d5563d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rustc/middle/typeck/astconv.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ fn ast_path_to_substs_and_ty<AC: ast_conv, RS: region_scope copy>(
100100
(false, some(_)) {
101101
tcx.sess.span_err(
102102
path.span,
103-
#fmt["no region bound is permitted on %s, \
103+
#fmt["no region bound is allowed on `%s`, \
104104
which is not declared as containing region pointers",
105105
ty::item_path_str(tcx, did)]);
106106
none

0 commit comments

Comments
 (0)