Files
rust/tests/ui
Matthias Krüger 1b396913a9 Rollup merge of #120751 - estebank:issue-68982, r=nnethercote
Provide more suggestions on invalid equality where bounds

```
error: equality constraints are not yet supported in `where` clauses
  --> $DIR/equality-bound.rs:50:9
   |
LL |         IntoIterator::Item = A
   |         ^^^^^^^^^^^^^^^^^^^^^^ not supported
   |
   = note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
help: if `IntoIterator::Item` is an associated type you're trying to set, use the associated type binding syntax
   |
LL ~     fn from_iter<T: IntoIterator<Item = A>>(_: T) -> Self
LL ~
   |

error: equality constraints are not yet supported in `where` clauses
  --> $DIR/equality-bound.rs:63:9
   |
LL |         T::Item = A
   |         ^^^^^^^^^^^ not supported
   |
   = note: see issue #20041 <https://github.com/rust-lang/rust/issues/20041> for more information
help: if `IntoIterator::Item` is an associated type you're trying to set, use the associated type binding syntax
   |
LL ~     fn from_iter<T: IntoIterator<Item = A>>(_: T) -> Self
LL ~
   |
```

Fix #68982.
2024-02-13 06:27:37 +01:00
..
2024-01-30 15:46:40 +00:00
2024-02-07 10:42:01 +08:00
2024-02-10 16:13:48 +01:00
2024-02-09 15:43:08 -03:00
2024-02-09 15:43:08 -03:00
2024-01-16 09:25:28 +01:00
2024-02-07 10:42:01 +08:00
2024-02-09 15:43:08 -03:00
2023-12-14 15:22:37 +01:00
2024-01-13 12:46:58 -05:00
2023-12-07 17:46:36 +01:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2023-09-06 12:09:29 +03:00
2024-02-01 03:31:03 +00:00
2024-02-07 10:42:01 +08:00
2023-12-23 00:09:37 +08:00
2024-02-07 10:42:01 +08:00
2024-02-09 15:43:08 -03:00
2024-02-08 19:56:30 -05:00
2024-01-13 12:46:58 -05:00
2024-02-09 15:43:08 -03:00
2024-01-27 16:38:57 +01:00
2024-01-23 21:16:24 +08:00
2024-02-10 00:13:13 +09:00
2023-11-24 21:04:51 +01:00
2024-01-13 12:46:58 -05:00
2024-01-05 09:30:27 +00:00
2024-02-09 15:43:08 -03:00
2024-02-01 03:31:03 +00:00
2024-02-07 10:42:01 +08:00
2024-01-27 16:38:57 +01:00
2024-02-12 18:09:39 +09:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2024-02-09 15:43:08 -03:00
2024-01-16 14:58:42 -05:00
2024-02-08 19:56:30 -05:00
2024-02-07 16:01:58 +01:00
2024-02-09 15:43:08 -03:00
2024-01-13 12:46:58 -05:00
2024-01-24 00:41:45 +01:00
2024-01-13 12:46:58 -05:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2023-10-28 23:11:03 -07:00
2024-01-05 09:30:27 +00:00
2024-02-07 10:42:01 +08:00
2024-02-10 16:13:48 +01:00
2024-02-07 10:42:01 +08:00
2023-08-14 16:57:51 -07:00
2024-02-07 10:42:01 +08:00
2024-02-01 03:31:03 +00:00
2024-02-06 02:22:58 +00:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2024-01-13 12:46:58 -05:00
2024-02-04 11:34:10 +08:00
2024-01-13 12:46:58 -05:00
2024-02-01 03:31:03 +00:00
2024-02-07 10:42:01 +08:00
2023-12-10 10:56:22 +08:00
2024-01-13 12:46:58 -05:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00
2024-01-13 12:46:58 -05:00
2023-09-10 23:06:14 +02:00
2023-09-10 23:06:14 +02:00
2024-01-13 12:46:58 -05:00
2024-02-07 10:42:01 +08:00
2024-02-07 10:42:01 +08:00