Skip to content

Commit

Permalink
Consistently use "allowed" rather than "permitted" in error messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
lkuper committed Jul 13, 2012
1 parent fa3dbb7 commit d5563d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/rustc/middle/typeck/astconv.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d5563d7

Please sign in to comment.