mirror of
https://github.com/rust-lang/rust
synced 2024-10-04 15:50:51 +00:00
2b48e7dbcb
Simple modification of `non_lifetime_binders`'s diagnostic information to adapt to type binders fixes #119067 Replace diagnostic information "lifetime bounds cannot be used in this context" to "bounds cannot be used in this context". ```rust #![allow(incomplete_features)] #![feature(non_lifetime_binders)] trait Trait {} trait Trait2 where for <T: Trait> ():{} //~^ ERROR bounds cannot be used in this context ``` |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
messages.ftl |