Skip to content

Commit c83dd03

Browse files
committed
Clarify 'trait bounds ignored' wording
1 parent b0a396b commit c83dd03

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/librustc_typeck/collect.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -388,8 +388,7 @@ fn ensure_no_ty_param_bounds(tcx: TyCtxt,
388388
// part of this PR. Still, convert to warning to
389389
// make bootstrapping easier.
390390
span_warn!(tcx.sess, span, E0122,
391-
"trait bounds are not (yet) enforced \
392-
in {} definitions",
391+
"trait bounds are ignored in {} definitions",
393392
thing);
394393
}
395394
}

0 commit comments

Comments
 (0)