Skip to content

Provide better diagnostics for assertions in the template analysis #621

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

Merged
merged 1 commit into from
Apr 7, 2017

Conversation

fitzgen
Copy link
Member

@fitzgen fitzgen commented Apr 7, 2017

This replaces various unwrap calls with expect calls that have better diagnostic messages if/when they fail.

Doing this as part of the investigation into why the analysis is failing when producing bindings for stylo.

r? @emilio

This replaces various `unwrap` calls with `expect` calls that have better
diagnostic messages if/when they fail.
@emilio
Copy link
Contributor

emilio commented Apr 7, 2017

@bors-servo r+

Thanks!

@bors-servo
Copy link

📌 Commit 1e2a78f has been approved by emilio

@bors-servo
Copy link

⌛ Testing commit 1e2a78f with merge 946335b...

bors-servo pushed a commit that referenced this pull request Apr 7, 2017
Provide better diagnostics for assertions in the template analysis

This replaces various `unwrap` calls with `expect` calls that have better diagnostic messages if/when they fail.

Doing this as part of the investigation into why the analysis is failing when producing bindings for stylo.

r? @emilio
@bors-servo
Copy link

☀️ Test successful - status-travis
Approved by: emilio
Pushing 946335b to master...

@bors-servo bors-servo merged commit 1e2a78f into rust-lang:master Apr 7, 2017
@fitzgen fitzgen deleted the template-analysis-diagnostics branch April 7, 2017 23:35
Sign up for free to 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