Matthias Krüger
a13d7dbecf
Rollup merge of #127878 - estebank:assoc-item-removal, r=fmease
...
Fix associated item removal suggestion
We were previously telling people to write what was already there, instead of removal (treating it as a `help`). We now properly suggest to remove the code that needs to be removed.
```
error[E0229]: associated item constraints are not allowed here
--> $DIR/E0229.rs:13:25
|
LL | fn baz<I>(x: &<I as Foo<A = Bar>>::A) {}
| ^^^^^^^ associated item constraint not allowed here
|
help: consider removing this associated item binding
|
LL - fn baz<I>(x: &<I as Foo<A = Bar>>::A) {}
LL + fn baz<I>(x: &<I as Foo>::A) {}
|
```
2024-07-18 08:09:01 +02:00
..
2024-03-22 13:20:54 -04:00
2024-07-17 11:08:28 -04:00
2024-03-08 20:56:25 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-21 10:34:53 -04:00
2024-03-21 10:34:53 -04:00
2024-03-21 10:34:53 -04:00
2024-03-21 10:34:53 -04:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-14 17:19:40 +01:00
2024-03-14 17:19:40 +01:00
2024-03-14 17:19:40 +01:00
2024-03-20 13:00:34 -04:00
2024-03-20 13:00:34 -04:00
2024-03-20 13:00:34 -04:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-22 13:20:54 -04:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-20 13:00:34 -04:00
2024-03-20 13:00:34 -04:00
2024-05-30 22:52:33 +02:00
2024-07-17 21:30:40 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-06-12 19:32:31 -04:00
2024-07-17 21:30:40 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-24 09:34:11 +01:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-23 00:17:30 +01:00
2024-03-23 00:17:30 +01:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-07 10:42:01 +08:00
2024-03-08 20:56:25 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-02-16 20:02:50 +00:00
2024-02-16 20:02:50 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00
2024-03-08 20:56:25 +00:00