-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
Point at source of trait bound obligations in more places #89580
Merged
Commits on Nov 20, 2021
-
Point at source of trait bound obligations in more places
Be more thorough in using `ItemObligation` and `BindingObligation` when evaluating obligations so that we can point at trait bounds that introduced unfulfilled obligations. We no longer incorrectly point at unrelated trait bounds (`substs-ppaux.verbose.stderr`). In particular, we now point at trait bounds on method calls. We no longer point at "obvious" obligation sources (we no longer have a note pointing at `Trait` saying "required by a bound in `Trait`", like in `associated-types-no-suitable-supertrait*`). Address part of rust-lang#89418.
Configuration menu - View commit details
-
Copy full SHA for 6b9d910 - Browse repository at this point
Copy the full SHA 6b9d910View commit details -
Change
trait_defs.rs
incremental hash test`predicates_of` no longer changes when changing a trait's front matter because we no longer include the trait's span in the identity trait obligation.
Configuration menu - View commit details
-
Copy full SHA for d8a3d7d - Browse repository at this point
Copy the full SHA d8a3d7dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 446b466 - Browse repository at this point
Copy the full SHA 446b466View commit details -
Configuration menu - View commit details
-
Copy full SHA for 563db42 - Browse repository at this point
Copy the full SHA 563db42View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f433ad - Browse repository at this point
Copy the full SHA 8f433adView commit details -
Point at
impl
blocks when they introduce unmet obligationsGroup obligations by `impl` block that introduced them.
Configuration menu - View commit details
-
Copy full SHA for 9fa165d - Browse repository at this point
Copy the full SHA 9fa165dView commit details -
Configuration menu - View commit details
-
Copy full SHA for cecbd76 - Browse repository at this point
Copy the full SHA cecbd76View commit details -
Configuration menu - View commit details
-
Copy full SHA for 55d50a9 - Browse repository at this point
Copy the full SHA 55d50a9View commit details -
Configuration menu - View commit details
-
Copy full SHA for e30e47f - Browse repository at this point
Copy the full SHA e30e47fView commit details -
Configuration menu - View commit details
-
Copy full SHA for d5e982d - Browse repository at this point
Copy the full SHA d5e982dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2a2621d - Browse repository at this point
Copy the full SHA 2a2621dView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.