From d5563d732dfb4ebbf50ad221d8d4568319210a65 Mon Sep 17 00:00:00 2001 From: Lindsey Kuper Date: Mon, 9 Jul 2012 11:44:26 -0700 Subject: [PATCH] Consistently use "allowed" rather than "permitted" in error messages. --- src/rustc/middle/typeck/astconv.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rustc/middle/typeck/astconv.rs b/src/rustc/middle/typeck/astconv.rs index 975d1efe4e70..c785e44b80ac 100644 --- a/src/rustc/middle/typeck/astconv.rs +++ b/src/rustc/middle/typeck/astconv.rs @@ -100,7 +100,7 @@ fn ast_path_to_substs_and_ty( (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