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