León Orell Valerian Liehr
68939f7826
Rollup merge of #122591 - gurry:122162-impl-type-binding-suggestion, r=fmease
...
Suggest using type args directly instead of equality constraint
When type arguments are written erroneously using an equality constraint we suggest specifying them directly without the equality constraint.
Fixes #122162
Changes the diagnostic in the issue from:
```rust
error[E0229]: associated type bindings are not allowed here
9 | impl std::cmp::PartialEq<Rhs = T> for S {
| ^^^^^^^ associated type not allowed here
|
```
to
```rust
error[E0229]: associated type bindings are not allowed here
9 | impl std::cmp::PartialEq<Rhs = T> for S {
| ^^^^^^^ associated type not allowed here
|
help: to use `T` as a generic argument specify it directly
|
| impl std::cmp::PartialEq<T> for S {
| ~
```
2024-04-23 17:25:14 +02:00
..
2024-03-07 00:19:55 +00:00
2024-04-16 15:19:12 +02:00
2024-02-22 16:04:04 +00:00
2024-04-15 21:49:56 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-03-20 13:00:34 -04:00
2024-03-18 16:25:36 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-02 21:22:04 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-12-21 10:17:11 +08:00
2023-12-21 10:17:11 +08:00
2024-04-15 21:49:55 +02:00
2024-04-15 21:49:56 +02:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2023-09-15 21:32:28 +02:00
2023-10-05 01:04:41 +00:00
2023-09-19 17:29:39 +02:00
2023-09-19 17:29:39 +02:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-02-29 14:43:43 +01:00
2024-02-29 14:43:43 +01:00
2024-02-22 16:04:04 +00:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-15 15:11:49 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-09 13:58:52 +00:00
2024-04-15 15:11:49 -07:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-03-29 13:31:35 -07:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-03-20 13:00:34 -04:00
2024-04-16 11:11:50 +05:30
2023-10-31 13:58:03 +00:00
2023-10-31 13:58:03 +00:00
2023-11-24 19:15:52 +01:00
2024-03-28 11:09:08 +01:00
2024-02-22 16:04:04 +00:00
2024-03-29 13:31:35 -07:00
2024-02-22 16:04:04 +00:00
2024-03-20 13:00:34 -04:00
2024-04-16 11:11:50 +05:30
2024-03-07 14:26:31 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-03-07 06:27:09 +00:00
2024-03-07 06:27:09 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-04-13 19:32:39 -07:00
2023-11-24 19:15:52 +01:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2023-11-24 19:15:52 +01:00
2023-11-24 19:15:52 +01:00
2024-01-11 09:03:26 +00:00
2024-01-11 09:03:26 +00:00
2023-12-02 09:01:19 +11:00
2024-03-29 13:31:35 -07:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00
2024-02-22 16:04:04 +00:00