rust/tests
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
..
assembly Add support for Arm64EC inline assembly 2024-04-10 10:06:44 -07:00
auxiliary
codegen Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
codegen-units Codegen const panic messages as function calls 2024-03-22 09:55:50 -04:00
coverage coverage: Branch coverage tests for match arms 2024-04-22 21:55:33 +10:00
coverage-run-rustdoc
crashes Rollup merge of #124057 - gurry:124031-ice-layout-errored, r=compiler-errors 2024-04-23 06:24:55 +02:00
debuginfo Stabilize generic NonZero. 2024-04-22 18:48:47 +02:00
incremental Add missing -Zquery-dep-graph to the spike-neg incr comp tests 2024-04-06 13:36:16 +00:00
mir-opt Rollup merge of #124230 - reitermarkus:generic-nonzero-stable, r=dtolnay 2024-04-22 20:26:00 +02:00
pretty Disallow ambiguous attributes on expressions 2024-04-18 20:42:19 +02:00
run-make Auto merge of #124112 - beetrees:incremental-os-str, r=Nadrieril 2024-04-22 04:00:58 +00:00
run-make-fulldeps Soft-destabilize RustcEncodable/RustcDecodable 2024-03-22 13:24:35 -07:00
run-pass-valgrind
rustdoc Auto merge of #118441 - GuillaumeGomez:display-stability-version, r=rustdoc 2024-04-19 14:17:29 +00:00
rustdoc-gui Rollup merge of #124197 - GuillaumeGomez:move-duplicated-code, r=notriddle 2024-04-23 06:24:56 +02:00
rustdoc-js rustdoc-search: single result for items with multiple paths 2024-04-08 17:07:14 -07:00
rustdoc-js-std rustdoc-search: fix description on aliases in results 2024-04-18 22:21:29 -07:00
rustdoc-json
rustdoc-ui Rollup merge of #122591 - gurry:122162-impl-type-binding-suggestion, r=fmease 2024-04-23 17:25:14 +02:00
ui Rollup merge of #122591 - gurry:122162-impl-type-binding-suggestion, r=fmease 2024-04-23 17:25:14 +02:00
ui-fulldeps Rollup merge of #123050 - RalfJung:panic_str, r=m-ou-se 2024-04-23 12:10:25 +02:00
COMPILER_TESTS.md