Skip to content

Conversation

estebank
Copy link
Contributor

When given struct Foo(usize) and using it as Foo {} or Foo, point at Foo's definition in the error.

When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at
`Foo`'s definition in the error.
@rust-highfive
Copy link
Contributor

r? @zackmdavis

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

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 22, 2019
@Centril
Copy link
Contributor

Centril commented Sep 29, 2019

r? @Centril @bors r+

@bors
Copy link
Collaborator

bors commented Sep 29, 2019

📌 Commit 2ae9016 has been approved by Centril

@rust-highfive rust-highfive assigned Centril and unassigned zackmdavis Sep 29, 2019
@bors bors 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 29, 2019
@bors
Copy link
Collaborator

bors commented Sep 29, 2019

⌛ Testing commit 2ae9016 with merge d0eff0b2d4afd9dd13cdb59d7ee7ba61e9dbe394...

Centril added a commit to Centril/rust that referenced this pull request Sep 29, 2019
Point at definition when misusing ADT

When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
@Centril
Copy link
Contributor

Centril commented Sep 29, 2019

@bors retry rolled up.

Centril added a commit to Centril/rust that referenced this pull request Sep 29, 2019
Point at definition when misusing ADT

When given `struct Foo(usize)` and using it as `Foo {}` or `Foo`, point at `Foo`'s definition in the error.
bors added a commit that referenced this pull request Sep 29, 2019
Rollup of 6 pull requests

Successful merges:

 - #64691 (Point at definition when misusing ADT)
 - #64735 (Add long error explanation for E0533)
 - #64825 (Point at enclosing match when expecting `()` in arm)
 - #64858 (Add support for relating slices in `super_relate_consts`)
 - #64894 (syntax: fix dropping of attribute on first param of non-method assocated fn)
 - #64898 (fixed typo)

Failed merges:

r? @ghost
@bors bors merged commit 2ae9016 into rust-lang:master Sep 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-bors Status: 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.

5 participants