Skip to content

On obligation errors point at the unfulfilled binding when possible - #64151

Merged
bors merged 10 commits into
rust-lang:masterfrom
estebank:binding-error
Sep 23, 2019
Merged

On obligation errors point at the unfulfilled binding when possible#64151
bors merged 10 commits into
rust-lang:masterfrom
estebank:binding-error

Conversation

@estebank

@estebankestebank commented Sep 4, 2019

Copy link
Copy Markdown
Contributor

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @varkor

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 4, 2019
@estebank

Copy link
Copy Markdown
ContributorAuthor

CC @nikomatsakis@Centril, I'd like a couple of extra eyes to make sure I'm not pointing at the wrong binding accidentally.

Comment threadsrc/test/ui/anonymous-higher-ranked-lifetime.stderr Outdated
@rust-highfive

This comment has been minimized.

@estebank
estebankforce-pushed the binding-error branch 2 times, most recently from 6e5a280 to 07ea946CompareSeptember 4, 2019 19:27
Comment threadsrc/librustc/hir/mod.rs Outdated
Comment threadsrc/librustc/hir/mod.rs Outdated
Comment threadsrc/librustc/traits/error_reporting.rs Outdated
Comment threadsrc/librustc_typeck/check/mod.rs Outdated
Comment threadsrc/libsyntax/parse/parser/path.rs Outdated
@estebank

This comment has been minimized.

@varkor

Copy link
Copy Markdown
Contributor

@bors r+

@bors

bors commented Sep 10, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 3109b1f47891a11037e446a5809bf385f5326b12 has been approved by varkor

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 10, 2019
@bors

This comment has been minimized.

@bors

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@borsbors added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Sep 11, 2019
@estebank

Copy link
Copy Markdown
ContributorAuthor

Inconsistent output across multiple targets strikes again. CC #53081, @oli-obk I can't find the issue you recently pinged me in that tracked this exact issue.

@oli-obk

Copy link
Copy Markdown
Contributor

Sorry on mobile until Friday. I don't know where it was

@estebank

Copy link
Copy Markdown
ContributorAuthor

I believe this might be the same as #46948

@estebank

This comment has been minimized.

@bors

This comment has been minimized.

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 16, 2019
@borsbors added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 22, 2019
@estebank

Copy link
Copy Markdown
ContributorAuthor

Progress: fixed the NLL tests.

@bors r=varkor

@bors

bors commented Sep 22, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit ff75124 has been approved by varkor

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Sep 22, 2019
@bors

bors commented Sep 22, 2019

Copy link
Copy Markdown
Collaborator

⌛ Testing commit ff75124 with merge c0b7e71...

bors added a commit that referenced this pull request Sep 22, 2019
On obligation errors point at the unfulfilled binding when possible
CC #42855, #64130, #64135. Fix#61860.
@bors

bors commented Sep 23, 2019

Copy link
Copy Markdown
Collaborator

☀️ Test successful - checks-azure
Approved by: varkor
Pushing c0b7e71 to master...

@borsbors added the merged-by-bors This PR was explicitly merged by bors. label Sep 23, 2019
@bors
bors merged commit ff75124 into rust-lang:masterSep 23, 2019
Centril added a commit to Centril/rust that referenced this pull request Nov 7, 2019
consistent handling of missing sysroot spans
Due to rust-lang#53081, sysroot spans (pointing to code in libcore/libstd/...) fails to print on some x86 runners. This consolidates the ignore directives for that and references the relevant issue.
I also did that for the generated derive-error-span tests -- but there the script and the tests were not entirely in sync any more since rust-lang#64151. Cc @estebank@varkor
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Nov 8, 2019
consistent handling of missing sysroot spans
Due to rust-lang#53081, sysroot spans (pointing to code in libcore/libstd/...) fails to print on some x86 runners. This consolidates the ignore directives for that and references the relevant issue.
I also did that for the generated derive-error-span tests -- but there the script and the tests were not entirely in sync any more since rust-lang#64151. Cc @estebank@varkor
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merged-by-borsThis PR was explicitly merged by bors.S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"doesn't have a size known at compile-time" should underline the type, not the whole size_of function

8 participants

@estebank@rust-highfive@varkor@bors@oli-obk@Centril@mati865@RalfJung