mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
Clarify 'trait bounds ignored' wording
This commit is contained in:
parent
b0a396bb0a
commit
c83dd03062
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user