-
Notifications
You must be signed in to change notification settings - Fork 13.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Account for incorrect where T::Assoc = Ty
bound
#91208
Conversation
r? @cjgillot (rust-highfive has picked a reviewer for you, use r? to override) |
Provide suggestoin to constrain trait bound for associated type. Revert incorrect changes to `missing-bounds` test. Address part of rust-lang#20041.
7400661
to
4954389
Compare
@bors r+ |
📌 Commit 4954389 has been approved by |
…askrgr Rollup of 6 pull requests Successful merges: - rust-lang#83791 (Weaken guarantee around advancing underlying iterators in zip) - rust-lang#90995 (Document non-guarantees for Hash) - rust-lang#91057 (Expand `available_parallelism` docs in anticipation of cgroup quota support) - rust-lang#91062 (rustdoc: Consolidate static-file replacement mechanism) - rust-lang#91208 (Account for incorrect `where T::Assoc = Ty` bound) - rust-lang#91266 (Use non-generic inner function for pointer formatting) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
@estebank
|
There can potentially be more than one, but I guess it might be ok to only account for one.
I believe we used not to have |
Provide suggestoin to constrain trait bound for associated type.
Revert incorrect changes to
missing-bounds
test.Address part of #20041.