rust/crates/syntax/src
bors ae659125a5 Auto merge of #13763 - rami3l:fix/gen-partial-eq-generic, r=Veykril
fix: add generic `TypeBoundList` in generated derivable impl

Potentially fixes #13727.

Continuing with the work in #13732, this fix tries to add correct type bounds in the generated `impl` block:

```diff
  enum Either<T, U> {
      Left(T),
      Right(U),
  }

- impl<T, U> PartialEq for Either<T, U> {
+ impl<T: PartialEq, U: PartialEq> PartialEq for Either<T, U> {
      fn eq(&self, other: &Self) -> bool {
          match (self, other) {
              (Self::Left(l0), Self::Left(r0)) => l0 == r0,
              (Self::Right(l0), Self::Right(r0)) => l0 == r0,
              _ => false,
          }
      }
  }
```
2023-01-09 13:02:09 +00:00
..
ast Auto merge of #13763 - rami3l:fix/gen-partial-eq-generic, r=Veykril 2023-01-09 13:02:09 +00:00
parsing dead code 2021-12-28 19:13:30 +03:00
tests remove unnecessary lazy evaluations 2023-01-02 15:02:54 +00:00
validation Add semicolons for consistency 2021-10-03 23:39:43 +11:00
algo.rs use inline format args 2023-01-02 14:52:32 +00:00
ast.rs Move precedence handling to crates/syntax 2022-12-08 18:46:30 +00:00
fuzz.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
hacks.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
lib.rs ⬆️ rust-analyzer 2022-10-26 17:40:41 +03:00
parsing.rs dead code 2021-12-28 19:13:30 +03:00
ptr.rs Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00
syntax_error.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
syntax_node.rs Update remaining GitHub URLs 2022-07-08 15:44:49 +02:00
ted.rs Inline all format arguments where possible 2022-12-24 14:36:10 -05:00
tests.rs remove needless borrows 2023-01-02 14:52:32 +00:00
token_text.rs Run cargo fix --edition-idioms 2022-07-20 15:02:08 +02:00
utils.rs Better strip turbofishes 2021-03-08 23:59:39 +02:00
validation.rs Moar linting: needless_borrow, let_unit_value, ... 2022-12-25 05:07:47 -05:00