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 for non-copy struct fields #1430

Merged
merged 1 commit into from
Apr 8, 2019

Conversation

alexcrichton
Copy link
Contributor

Make sure the error message points to the type in question instead of to
the #[wasm_bindgen] macro which can be overly confusing!

Make sure the error message points to the type in question instead of to
the `#[wasm_bindgen]` macro which can be overly confusing!
Copy link
Member

@fitzgen fitzgen left a comment

Choose a reason for hiding this comment

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

Oo nice!

@fitzgen fitzgen merged commit a9a2302 into rustwasm:master Apr 8, 2019
@alexcrichton alexcrichton deleted the better-errors branch April 8, 2019 17:43
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.

2 participants