Skip to content

Fix abuses of tykind::err #70870

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

Merged
merged 3 commits into from
Apr 9, 2020
Merged

Fix abuses of tykind::err #70870

merged 3 commits into from
Apr 9, 2020

Conversation

mark-i-m
Copy link
Member

@mark-i-m mark-i-m commented Apr 7, 2020

r? @eddyb

cc #70866

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Apr 7, 2020
@eddyb
Copy link
Member

eddyb commented Apr 7, 2020

r? @nikomatsakis

@mark-i-m

This comment has been minimized.

@eddyb

This comment has been minimized.

@rust-highfive

This comment has been minimized.

@mark-i-m

This comment has been minimized.

@eddyb
Copy link
Member

eddyb commented Apr 7, 2020

Ugh so it doesn't work there either. Just use tcx.types.never I guess.

@mark-i-m
Copy link
Member Author

mark-i-m commented Apr 7, 2020

@eddyb It seems to be past the ICE now, but src/test/ui/issues/issue-69841.rs is reaching unreachable code on line 28. I don't understand how these changes can cause that.

EDIT: CI is passing, so maybe this is just a stage 1/incremental bug?

@eddyb
Copy link
Member

eddyb commented Apr 8, 2020

@bors r+ (cc @nikomatsakis)

@bors
Copy link
Collaborator

bors commented Apr 8, 2020

📌 Commit daddf4d has been approved by eddyb

@bors
Copy link
Collaborator

bors commented Apr 8, 2020

🌲 The tree is currently closed for pull requests below priority 1000, this pull request will be tested once the tree is reopened

@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 Apr 8, 2020
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 9, 2020
Rollup of 7 pull requests

Successful merges:

 - rust-lang#70134 (add basic support of OsStrExt for HermitCore)
 - rust-lang#70565 (Add inline attributes for functions used in the query system)
 - rust-lang#70828 (rustdoc: Don't try to load source files from external crates)
 - rust-lang#70870 (Fix abuses of tykind::err)
 - rust-lang#70906 (Suggest move for closures and async blocks in more cases.)
 - rust-lang#70912 (Do not suggest adding type param when `use` is already suggested)
 - rust-lang#70930 (add tracking issue to `VecDeque::make_contiguous`)

Failed merges:

r? @ghost
@bors bors merged commit d0c8839 into rust-lang:master Apr 9, 2020
@mark-i-m mark-i-m deleted the de-abuse-err branch May 6, 2020 01:54
# for free to join this conversation on GitHub. Already have an account? # 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