-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
detect extra region requirements in impls #37167
Merged
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
f3cc374
introduce fn-ctxt so we can invoke regionck code
jroesch ce340af
move outlives_components onto tcx
nikomatsakis e77cc9c
elaborate `T: 'a` dependencies
nikomatsakis bd5fa75
cleanup error reporting and add `ui` tests
nikomatsakis 75bc8bf
introduce EarlyLint type
nikomatsakis 888a92c
separate Diagnostic from DiagnosticBuilder
nikomatsakis f652651
retool EarlyLint to track a Diagnostic
nikomatsakis ddabd50
compare-method lint
nikomatsakis 0aeab9a
move early lint over to multispan
nikomatsakis 2b5bc48
improve early lint to use multispan from diagnostic
nikomatsakis 84ac618
go back to supplying diagnostic
nikomatsakis 0c03a88
run compare method in old-broken-way and new-good-way
nikomatsakis a20b062
update ref file
nikomatsakis 61c777b
introduce new origin for `Trait+'b`
nikomatsakis 9252925
update test error messages
nikomatsakis b659752
update `extra_requirement_in_impl` to #37166
nikomatsakis 2223499
apply review feedback nits
nikomatsakis fa9ebfc
move compile-fail tests to ui tests
nikomatsakis ad46ad6
pacify the mercilous tidy
nikomatsakis 6236ee1
add -Z continue-parse-after-error to parse-fail tests
nikomatsakis 4501e5a
remove erroneous E0045 annotation
nikomatsakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we not apply some heuristics here? For example, we could detect the scenario when the trait is defined in the same crate?