mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
1e1e64f10f
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. |
||
---|---|---|
.. | ||
leak-check | ||
subtype | ||
trait-bounds | ||
builtin-closure-like-bounds.rs | ||
closure-bound-codegen-ice.rs | ||
erroneous-lifetime-bound.rs | ||
erroneous-lifetime-bound.stderr | ||
higher-lifetime-bounds.rs | ||
higher-lifetime-bounds.stderr | ||
higher-ranked-lifetime-equality.rs | ||
higher-ranked-lifetime-equality.stderr | ||
higher-ranked-lifetime-error.rs | ||
higher-ranked-lifetime-error.stderr | ||
structually-relate-aliases.rs | ||
structually-relate-aliases.stderr | ||
well-formed-aliases.rs | ||
well-formed-aliases.stderr |