From c83dd0306215e21ce5f8dab92edcc3ac9795f3da Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 5 Feb 2018 17:31:46 +0100 Subject: [PATCH] Clarify 'trait bounds ignored' wording --- src/librustc_typeck/collect.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/librustc_typeck/collect.rs b/src/librustc_typeck/collect.rs index 7a91827faef8..8b0d4248bbf2 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); } }