Files
rust/tests/ui/traits
Matthias Krüger 2b48e7dbcb Rollup merge of #119154 - surechen:fix_119067, r=fmease
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
```
2023-12-21 16:43:07 +01:00
..
2023-12-10 10:56:22 +08:00
2023-12-10 10:56:22 +08:00
2023-06-19 15:39:55 +02:00
2023-04-03 09:24:11 +02:00
2023-04-25 19:53:09 +00:00
2023-05-12 00:10:52 +00:00
2023-12-10 10:56:22 +08:00
2023-04-20 15:06:17 -03:00
2023-12-14 15:22:37 +01:00
2023-03-08 00:00:18 +00:00
2023-03-08 00:00:18 +00:00
2023-10-13 19:18:46 +00:00
2023-12-05 17:15:46 +00:00
2023-12-15 16:12:27 +00:00
2023-12-10 10:56:22 +08:00
2023-06-19 15:39:55 +02:00
2023-01-13 18:20:24 +00:00
2023-01-13 18:20:24 +00:00
2023-09-23 13:47:30 +00:00