Skip to content

Conversation

@taiki-e
Copy link
Owner

@taiki-e taiki-e commented Sep 10, 2019

#34 can already detect this, but this will generate better error messages.

This also adds some tests related to #[repr(packed)].

@taiki-e
Copy link
Owner Author

taiki-e commented Sep 10, 2019

bors r+

bors bot added a commit that referenced this pull request Sep 10, 2019
83: Improve error message for #[repr(packed(N))] r=taiki-e a=taiki-e

#34 can [already detect this](https://play.rust-lang.org/?version=nightly&mode=debug&edition=2018&gist=7331036de27faeb8354e367ef514c6c6), but this will generate better error messages.

This also adds some tests related to `#[repr(packed)]`.

Co-authored-by: Taiki Endo <[email protected]>
@bors
Copy link
Contributor

bors bot commented Sep 10, 2019

Build succeeded

  • taiki-e.pin-project

@bors bors bot merged commit b9feff4 into master Sep 10, 2019
@taiki-e taiki-e deleted the repr-packed branch September 10, 2019 15:17
@taiki-e taiki-e added the A-diagnostics Area: Messages for errors and warnings label Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-diagnostics Area: Messages for errors and warnings

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant