Skip to content
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

Improve error message in make_tests #66363

Merged
merged 1 commit into from
Nov 14, 2019
Merged

Conversation

Munksgaard
Copy link
Contributor

We should use expect instead of unwrap.

This commit is based on Manishearth/compiletest-rs#58. Thanks to @colin-kiegel.

We should use expect instead of unwrap.

This commit is based on Manishearth/compiletest-rs#58. Thanks to @colin-kiegel.
@rust-highfive
Copy link
Collaborator

r? @nikomatsakis

(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 Nov 13, 2019
@Munksgaard
Copy link
Contributor Author

r? @dtolnay

Copy link
Member

@dtolnay dtolnay left a comment

Choose a reason for hiding this comment

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

Thanks!

@dtolnay
Copy link
Member

dtolnay commented Nov 13, 2019

@bors r+

@bors
Copy link
Contributor

bors commented Nov 13, 2019

📌 Commit b03afd5 has been approved by dtolnay

@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 Nov 13, 2019
JohnTitor added a commit to JohnTitor/rust that referenced this pull request Nov 14, 2019
Improve error message in make_tests

We should use expect instead of unwrap.

This commit is based on Manishearth/compiletest-rs#58. Thanks to @colin-kiegel.
bors added a commit that referenced this pull request Nov 14, 2019
Rollup of 9 pull requests

Successful merges:

 - #66253 (Improve errors after re rebalance coherence)
 - #66264 (fix an ICE in macro's diagnostic message)
 - #66349 (expand source_util macros with def-site context)
 - #66351 (Tweak non-char/numeric in range pattern diagnostic)
 - #66360 (Fix link to Exten in Vec::set_len)
 - #66361 (parser: don't use `unreachable!()` in `fn unexpected`.)
 - #66363 (Improve error message in make_tests)
 - #66369 (compiletest: Obtain timestamps for common inputs only once)
 - #66372 (Fix broken links in Ipv4Addr::is_benchmarking docs)

Failed merges:

r? @ghost
@bors bors merged commit b03afd5 into rust-lang:master Nov 14, 2019
@bors
Copy link
Contributor

bors commented Nov 14, 2019

☔ The latest upstream changes (presumably #66403) made this pull request unmergeable. Please resolve the merge conflicts.

@bors bors added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. labels Nov 14, 2019
@Munksgaard
Copy link
Contributor Author

Huh? Do I need to do anything, @dtolnay ?

@JohnTitor
Copy link
Member

@Munksgaard Bors just misunderstood, you don't have to do anything.

@Munksgaard
Copy link
Contributor Author

@JohnTitor Okay, thank you :-)

@Munksgaard Munksgaard deleted the patch-1 branch November 14, 2019 11:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants