Skip to content

librustc: hint close matches on accessing nonexisting fields - #21187

Merged
bors merged 1 commit into
rust-lang:masterfrom
oli-obk:feature/hint_struct_field_access
Jan 22, 2015
Merged

librustc: hint close matches on accessing nonexisting fields#21187
bors merged 1 commit into
rust-lang:masterfrom
oli-obk:feature/hint_struct_field_access

Conversation

@oli-obk

Copy link
Copy Markdown
Contributor

rebase and fix of #19267

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @alexcrichton

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

@oli-obk
oli-obkforce-pushed the feature/hint_struct_field_access branch 2 times, most recently from 59241c8 to 9cd90f7CompareJanuary 15, 2015 12:01

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a test for this error message as well?

Copy link
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

sure, allthough the test is not (yet) useful since it's ignored: #21195

@oli-obk
oli-obkforce-pushed the feature/hint_struct_field_access branch 3 times, most recently from 9f085cc to c8d68a7CompareJanuary 19, 2015 12:51
@oli-obk

Copy link
Copy Markdown
ContributorAuthor

rebased on master, added test and changed number of help messages to one. local make check-stage1 passes, make check is running right now

@oli-obk

Copy link
Copy Markdown
ContributorAuthor

make check passed

@alexcrichton

Copy link
Copy Markdown
Member

Thanks! Could you squash the commits together as well?

@oli-obk
oli-obkforce-pushed the feature/hint_struct_field_access branch from c8d68a7 to b24da87CompareJanuary 19, 2015 20:42
@oli-obk

Copy link
Copy Markdown
ContributorAuthor

i just left them there for easier reading.
squashed and rebased

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+ b24da87

@bors

bors commented Jan 20, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit b24da87 with merge b63cc5c...

@bors

bors commented Jan 20, 2015

Copy link
Copy Markdown
Collaborator

💔 Test failed - auto-mac-64-opt

@oli-obk
oli-obkforce-pushed the feature/hint_struct_field_access branch from b24da87 to 09d9924CompareJanuary 20, 2015 09:59
@oli-obk

Copy link
Copy Markdown
ContributorAuthor

sorry about that. fixed, rebased and make check ran through

@alexcrichton

Copy link
Copy Markdown
Member

@bors: r+ 09d9924

bors added a commit that referenced this pull request Jan 22, 2015
@bors

bors commented Jan 22, 2015

Copy link
Copy Markdown
Collaborator

⌛ Testing commit 09d9924 with merge b7930d9...

@bors

bors commented Jan 22, 2015

Copy link
Copy Markdown
Collaborator

@bors
bors merged commit 09d9924 into rust-lang:masterJan 22, 2015
@oli-obk
oli-obk deleted the feature/hint_struct_field_access branch January 23, 2015 09:25
lnicola pushed a commit to lnicola/rust that referenced this pull request Dec 15, 2025
…lnxww
Include operator overload occurrences in SCIP index
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@oli-obk@rust-highfive@alexcrichton@bors