about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2018-02-05 17:31:46 +0100
committerRalf Jung <post@ralfj.de>2018-02-05 17:31:46 +0100
commitc83dd0306215e21ce5f8dab92edcc3ac9795f3da (patch)
treec8461f0e933015ff98c7ee7415318014b69b19ea
parentb0a396bb0af5ad7706ffa2fafdec761012df200d (diff)
downloadrust-c83dd0306215e21ce5f8dab92edcc3ac9795f3da.tar.gz
rust-c83dd0306215e21ce5f8dab92edcc3ac9795f3da.zip
Clarify 'trait bounds ignored' wording
-rw-r--r--src/librustc_typeck/collect.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs
index 7a91827faef..8b0d4248bbf 100644
--- a/src/librustc_typeck/collect.rs
+++ b/src/librustc_typeck/collect.rs
@@ -388,8 +388,7 @@ fn ensure_no_ty_param_bounds(tcx: TyCtxt,
         // part of this PR. Still, convert to warning to
         // make bootstrapping easier.
         span_warn!(tcx.sess, span, E0122,
-                   "trait bounds are not (yet) enforced \
-                   in {} definitions",
+                   "trait bounds are ignored in {} definitions",
                    thing);
     }
 }