Clarify 'trait bounds ignored' wording

This commit is contained in:
Ralf Jung 2018-02-05 17:31:46 +01:00
parent b0a396bb0a
commit c83dd03062

View File

@ -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);
}
}