Matthias Krüger 1e1e64f10f
Rollup merge of #127844 - chenyukang:yukang-fix-type-bound-127555, r=jieyouxu
Remove invalid further restricting suggestion for type bound

This PR partially addresses #127555, it will remove the obvious error suggestion:

```console
   |                      ^^^^ required by this bound in `<Baz as Foo>::bar`
help: consider further restricting this bound
   |
12 |         F: FnMut() + Send + std::marker::Send,
   |                           +++++++++++++++++++
```

I may create another PR to get a better diagnostic for `impl has stricter requirements than trait` scenario.
2024-07-17 16:22:32 +02:00
..
2024-04-01 22:48:23 -04:00
2024-04-01 22:48:23 -04:00
2024-04-03 22:48:55 +01:00
2024-04-03 22:48:55 +01:00
2024-04-03 22:48:55 +01:00
2024-04-03 22:48:55 +01:00